[CB-4198] bin/create script should be better at handling non-word characters in activity name. Patched windows script as well.

(cherry picked from commit b4236b9783)
This commit is contained in:
Fil Maj
2013-07-25 10:33:05 -07:00
committed by Andrew Grieve
parent 624a8d370c
commit dc494c85f2
2 changed files with 215 additions and 211 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ VERSION=$(cat "$BUILD_PATH"/VERSION)
PROJECT_PATH="${1:-'./example'}"
PACKAGE=${2:-"org.apache.cordova.example"}
ACTIVITY=$(echo ${3:-"cordovaExample"} | tr -d ' ')
ACTIVITY=$(echo ${3:-"cordovaExample"} | tr -d '[:blank:][:punct:]')
APP_LABEL=${3:-"Cordova Example"};
# clobber any existing example