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

This commit is contained in:
Fil Maj
2013-07-25 10:33:05 -07:00
parent 980c4699b0
commit b4236b9783
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