You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2012/11/05 23:48:12 UTC

[jira] [Assigned] (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 ]

Joe Bowser reassigned CB-1794:
------------------------------

    Assignee: Anis Kadri  (was: Joe Bowser)

Can you explain what is going on here? This script just appears to call itself.
                
> `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