cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-1794) `cordova` command line script(s) don't work with paths with spaces in them
Date Wed, 31 Oct 2012 22:53:12 GMT
Filip Maj created CB-1794:
-----------------------------

             Summary: `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: Joe Bowser


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