Francesco Durbin created CB-2634:
------------------------------------

             Summary: Copy www directory script has issues with blanks in file 
names
                 Key: CB-2634
                 URL: https://issues.apache.org/jira/browse/CB-2634
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.5.0
         Environment: xcode 4.6
            Reporter: Francesco Durbin
            Assignee: Shazron Abdullah


this part of the "Copy www directory" script:

{quote}
for p in $(do_find -type f -print); do
  subpath="${p#$SRC_DIR}"
  if ! ln "$SRC_DIR$subpath" "$DST_DIR$subpath"; then
    cp -a "$SRC_DIR$subpath" "$DST_DIR$subpath" || exit 3
  fi
done
{quote}

doesn't take into account that files could have blanks in the name causes the 
build to crash.

example of an error:
{quote}
ln: www/scripts/modernizr/media/Modernizr: No such file or directory
cp: www/scripts/modernizr/media/Modernizr: No such file or directory
{quote}

where the correct file's name is: "Modernizr 2 Logo.ai"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to