From 9747c54f05655c1569ea4649956641bf10f33a42 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Tue, 15 May 2007 20:44:31 +0000
Subject: [PATCH] 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.
---
opends/resource/webstart/create-webstart-standalone.sh | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/opends/resource/webstart/create-webstart-standalone.sh b/opends/resource/webstart/create-webstart-standalone.sh
index 1d3a82b..7f62d35 100755
--- a/opends/resource/webstart/create-webstart-standalone.sh
+++ b/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.
--
Gitblit v1.10.0