[ 
https://issues.apache.org/jira/browse/CB-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Durbin updated CB-2634:
---------------------------------

    Comment: was deleted

(was: I solved the issue modifying the lines 11 and 13 ind the copy script, 
from:

{quote}
11: alias do_find='find "$SRC_DIR"'
13: alias do_find='find "$SRC_DIR" -name ".*" -prune -o'
{quote}

to:
{quote}
11:  alias do_find="find $SRC_DIR"
13:  alias do_find="find $SRC_DIR -name .* -prune -o"
{quote}


simply removed the single quotes, this works for me at least...)
    
> 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