This reverts commit
fb393296a14f5d34ec67e74a191e06e4b702fbe0.
I believe distribution-check now uses different script
and current BUNDLEFOLDER computation is wrong
fro direct Nexus link (as opposed to 'last').
Change-Id: I93c88f4a7c921e152506706570cb1c1c9948c6f9
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
else
ACTUALBUNDLEURL="${BUNDLEURL}"
BUNDLE="${BUNDLEURL##*/}"
else
ACTUALBUNDLEURL="${BUNDLEURL}"
BUNDLE="${BUNDLEURL##*/}"
- BUNDLEFOLDER="${BUNDLE//.zip}"
- BUNDLEVERSION="${BUNDLEFOLDER//distribution-karaf-}"
+ BUNDLEVERSION="$(basename $(dirname $BUNDLEURL))"
+ BUNDLEFOLDER="distribution-karaf-${BUNDLEVERSION}"
fi
if [ ${JDKVERSION} == 'openjdk8' ]; then
fi
if [ ${JDKVERSION} == 'openjdk8' ]; then