cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anis Kadri (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-1794) `cordova` command line script(s) don't work with paths with spaces in them
Date Tue, 06 Nov 2012 01:54:12 GMT

     [ https://issues.apache.org/jira/browse/CB-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anis Kadri updated CB-1794:
---------------------------

    Comment: was deleted

(was: 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

Mime
View raw message