[ 
https://issues.apache.org/jira/browse/CB-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13626724#comment-13626724
 ] 

James Jong commented on CB-2725:
--------------------------------

Thanks Alex for reporting the issue.  The issue is actually with the find of 
nested links which includes directories.  The patch here should resolve your 
issue and with nested links in general:

https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=1b22bd801364ea071fdfe3aa0879cb2a10e3c3e6
                
> Improve `Copy www directory` script to copy files when `www` is a symlink 
> directory
> -----------------------------------------------------------------------------------
>
>                 Key: CB-2725
>                 URL: https://issues.apache.org/jira/browse/CB-2725
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: 2.5.0, 2.6.0
>         Environment: XCode when building.
>            Reporter: Cristobal Dabed
>            Assignee: James Jong
>            Priority: Minor
>              Labels: improvement, patch, xCode
>             Fix For: 2.7.0
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> Under the copy directory section ammend the following lines
> <code>
> if [[ -L $SRC_DIR ]]; then 
>   SRC_DIR="www/" ## is symlink set path to "www/"
> fi
> </code>
> or just set it to
> <code>
> SRC_DIR="www/"
> </code>
> Both variants work.
> Otherwise it will not copy the files when the `www` folder is a symlink 
> folder.

--
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