aboutsummaryrefslogtreecommitdiffstats
path: root/policy-management/src/main/server-gen
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-04-16 21:04:29 -0500
committerJorge Hernandez <jh1730@att.com>2018-04-16 21:04:29 -0500
commite590ef1978e3925a047d31f29b9e0876e3971426 (patch)
tree09749b9d10557453af9f2d851044600c3c75995a /policy-management/src/main/server-gen
parentccb24b5b32f59ddf948245a1d209ca9964d21baa (diff)
strip timestamped versions in feature installs
This is to satisfy CSIT tests that contains a mix of SNAPSHOT and timestamped versions while running tests Change-Id: I1fe426dcca9250d0fe2c9c5264f1acb1ffbde57b Issue-ID: POLICY-745 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-management/src/main/server-gen')
-rw-r--r--policy-management/src/main/server-gen/bin/features2
1 files changed, 1 insertions, 1 deletions
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