diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-04-16 21:04:29 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2018-04-16 21:04:29 -0500 |
commit | e590ef1978e3925a047d31f29b9e0876e3971426 (patch) | |
tree | 09749b9d10557453af9f2d851044600c3c75995a /packages/docker | |
parent | ccb24b5b32f59ddf948245a1d209ca9964d21baa (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 'packages/docker')
-rw-r--r-- | packages/docker/src/main/docker/docker-install.sh | 2 |
1 files changed, 1 insertions, 1 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" |