Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2175

Android build scripts fail when project path contains spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.2.0
    • 2.3.0
    • cordova-android
    • None
    • Mac os

    Description

      When the project is located in a path with spaces, the clean/debug... cordova build scripts are failing.

      Fix: double quote paths:
      clean (L24):
      bash $CORDOVA_PATH/cordova clean
      =>
      bash "$CORDOVA_PATH/cordova" clean

      cordova (L102)
      (cd $PROJECT_PATH && $1)
      =>
      (cd "$PROJECT_PATH" && $1)

      Attachments

        Activity

          People

            bowserj Joey Robert Bowser
            adalbertwysocki@gmail.com Adalbert Wysocki
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified