You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Anis Kadri (JIRA)" <ji...@apache.org> on 2012/11/06 02:54:12 UTC
[jira] [Resolved] (CB-1794) `cordova` command line script(s) don't
work with paths with spaces in them
[ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anis Kadri resolved CB-1794.
----------------------------
Resolution: Fixed
Hopefully this will help a bit more. Will output which command failed with which status code on error.
> `cordova` command line script(s) don't work with paths with spaces in them
> --------------------------------------------------------------------------
>
> Key: CB-1794
> URL: https://issues.apache.org/jira/browse/CB-1794
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Environment: Mac OS X 10.7.5
> Reporter: Filip Maj
> Assignee: Anis Kadri
> Fix For: 2.3.0
>
>
> I run the following:
> {code}
> ./bin/create "foo bar"
> cd foo\ bar
> ./cordova/debug
> {code}
> I get:
> {code}
> bash: /Users/fil/src/incubator-cordova-android/foo: No such file or directory
> {code}
> I believe the patch is to change the line:
> {{cd PROJECT_PATH}}
> .. in the {{debug}} and {{cordova}} scripts to:
> {{cd "PROJECT_PATH"}}
--
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