mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
[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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user