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

neil_a_wilson
15.44.2007 4715502bc20bbb5ebd9769c6496fae4a85267dcd
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
opendj-sdk/opends/resource/webstart/create-webstart-standalone.sh 12 ●●●● patch | view | raw | blame | history
opendj-sdk/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.