mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
15.44.2007 9747c54f05655c1569ea4649956641bf10f33a42
Update the way the Java Web Start installer creation script finds the path to
the Director Server JAR files to take the new version numbering scheme into
account.
1 files modified
12 ■■■■ changed files
opends/resource/webstart/create-webstart-standalone.sh 12 ●●●● patch | view | raw | blame | history
opends/resource/webstart/create-webstart-standalone.sh
@@ -102,15 +102,9 @@
# Determine what the name should be for the OpenDS zip file name, but without
# the ".zip" extension.
SHORT_NAME=`grep SHORT_NAME ${ROOT_DIR}/PRODUCT | cut -d = -f 2`
MAJOR_VERSION=`grep MAJOR_VERSION ${ROOT_DIR}/PRODUCT | cut -d = -f 2`
MINOR_VERSION=`grep MINOR_VERSION ${ROOT_DIR}/PRODUCT | cut -d = -f 2`
VERSION_QUALIFIER=`grep VERSION_QUALIFIER ${ROOT_DIR}/PRODUCT | cut -d = -f 2`
ZIP_FILENAME_BASE="${SHORT_NAME}-${MAJOR_VERSION}.${MINOR_VERSION}"
if test ! -z "${VERSION_QUALIFIER}"
then
  ZIP_FILENAME_BASE="${ZIP_FILENAME_BASE}${VERSION_QUALIFIER}"
fi
ZIP_FILEPATH=`ls ${ROOT_DIR}/build/package/OpenDS*.zip`
ZIP_FILENAME=`basename ${ZIP_FILEPATH}`
ZIP_FILENAME_BASE=`echo ${ZIP_FILENAME} | sed -e 's/\.zip//'`
# Create the directory structure into which we will place the archive.