Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10178

build.xml does not specify path to find - breaks on FreeBSD

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.9-RC1
    • 3.0.8
    • None
    • None

      On FreeBSD the path argument to find is not optional like it is on linux. Therefore not specifying it results in the following errors:

      ...
      phpBB > export:
       
           [exec] Executing command: git archive release-3.0.2 | tar -xf - -C ../build/old_versions/release-3.0.2 2>&1
         [delete] Deleting: /usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/config.php
         [delete] Deleting directory /usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/develop
         [delete] Deleting directory /usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/install/data
           [echo] Setting permissions for checkout of release-3.0.2 in build/old_versions/release-3.0.2
           [exec] Executing command: find -type f|xargs chmod 644 2>&1
      find: illegal option -- t
      find: illegal option -- y
      find: illegal option -- p
      find: illegal option -- e
      find: f: No such file or directory
           [exec] Executing command: find -type d|xargs chmod 755 2>&1
      find: illegal option -- t
      find: illegal option -- y
      find: illegal option -- p
      find: illegal option -- e
      find: d: No such file or directory
          [chmod] Changed file mode on '/usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/cache' to 777
          [chmod] Changed file mode on '/usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/store' to 777
          [chmod] Changed file mode on '/usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/files' to 777
          [chmod] Changed file mode on '/usr/home/pie/apps/phpbb/build/old_versions/release-3.0.2/images/avatars/upload' to 777
      [phingcall] Calling Buildfile '/usr/home/pie/apps/phpbb/build/build.xml' with target 'clean-diff-dir'
      ...
      

            Oleg Oleg [X] (Inactive)
            Oleg Oleg [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: