[
https://issues.apache.org/jira/browse/CB-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13614567#comment-13614567
]
Chris Anderson commented on CB-2725:
------------------------------------
Thanks for finding this, appending the / to the www/ directory in the first
line of the script makes it work for me.
> 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
> Environment: XCode when building.
> Reporter: Cristobal Dabed
> Assignee: James Jong
> Priority: Minor
> Labels: improvement, patch, xCode
> Fix For: Master, 2.5.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