aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/docker/src/main/docker/docker-install.sh2
-rw-r--r--policy-management/src/main/server-gen/bin/features2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/docker/src/main/docker/docker-install.sh b/packages/docker/src/main/docker/docker-install.sh
index 5ec25823..4c647f11 100644
--- a/packages/docker/src/main/docker/docker-install.sh
+++ b/packages/docker/src/main/docker/docker-install.sh
@@ -839,7 +839,7 @@ function installFeatures
SOURCE_DIR=$PWD
for feature in feature-*.zip ; do
name="${feature#feature-}"
- name="${name%-[0-9]*\.zip}"
+ name="${name%%-[0-9]*\.zip}"
mkdir -p "${FEATURES_HOME}/${name}" > /dev/null 2>&1
(cd "${FEATURES_HOME}/${name}"; jar xf ${SOURCE_DIR}/${feature})
featureConf="feature-${name}.conf"
diff --git a/policy-management/src/main/server-gen/bin/features b/policy-management/src/main/server-gen/bin/features
index b2e9bd5b..9f139f8b 100644
--- a/policy-management/src/main/server-gen/bin/features
+++ b/policy-management/src/main/server-gen/bin/features
@@ -921,7 +921,7 @@ function installFeatures
# the ZIP file is specified -- find the name
name="${feature##*/}"
name="${name#feature-}"
- name="${name%-[0-9]*\.zip}"
+ name="${name%%-[0-9]*\.zip}"
# if the ZIP file has a directory name component,
# set 'dir' accordingly