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

Ludovic Poitou
10.16.2012 34715f5bad024f563b7a15a1238686bd3879e5a1
Remove hardcoded path for Grep in the internal script use to build the WebStart installer.
1 files modified
4 ■■■ changed files
opendj-sdk/opends/resource/webstart/create-webstart-standalone.sh 4 ●●● patch | view | raw | blame | history
opendj-sdk/opends/resource/webstart/create-webstart-standalone.sh
@@ -1,7 +1,5 @@
#!/bin/sh
GREP="/usr/bin/grep"
# Determine the location to this script so that we know where we are in the
# OpenDJ source tree.
cd "`dirname $0`"
@@ -19,7 +17,7 @@
if test -z "${PRODUCT_NAME}"
then
  PRODUCT_NAME=`${GREP} SHORT_NAME "${PRODUCT_FILE}" | cut -d= -f2`
  PRODUCT_NAME=`grep SHORT_NAME "${PRODUCT_FILE}" | cut -d= -f2`
fi
echo "PRODUCT_NAME:   ${PRODUCT_NAME}"