[
https://issues.apache.org/jira/browse/CB-9116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14573152#comment-14573152
]
ASF GitHub Bot commented on CB-9116:
------------------------------------
Github user sgrebnov commented on a diff in the pull request:
https://github.com/apache/cordova-ios/pull/144#discussion_r31741687
--- Diff: bin/templates/scripts/cordova/lib/build.js ---
@@ -87,6 +87,13 @@ module.exports.run = function (argv) {
}
return Q.nfcall(fs.writeFile, path.join(__dirname, '..',
'build-extras.xcconfig'), extraConfig, 'utf-8');
}).then(function () {
+ // Ensure platform scripts are executable as the platform could be
added on non-OSX environment
+ shell.find(projectPath).filter(function (file) {
--- End diff --
sounds good
> Ensure platform scripts are executable as the platform could be added on
> non-OSX environment
> --------------------------------------------------------------------------------------------
>
> Key: CB-9116
> URL: https://issues.apache.org/jira/browse/CB-9116
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Sergey Shakhnazarov
>
> Some shell scripts turn out to be non-executable when ios platform is added
> on non-OSX machine and then pushed to github.
> Error logs:
> PhaseScriptExecution Copy\ www\ directory
> build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Script-304B58A110DAC018002A0835.sh
> cd /Users/admin/Desktop/cordova5/osxtest/platforms/ios
> /bin/sh -c
> /Users/admin/Desktop/cordova5/osxtest/platforms/ios/build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Script-304B58A110DAC018002A0835.sh
> /Users/admin/Desktop/cordova5/osxtest/platforms/ios/build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Script-304B58A110DAC018002A0835.sh:
> line 2: cordova/lib/copy-www-build-step.sh: Permission denied
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]