From c35f39c391d48678d2ba202b8acbd6747389f6c2 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Tue, 10 Jul 2012 09:16:18 +0000
Subject: [PATCH] Remove hardcoded path for Grep in the internal script use to build the WebStart installer.

---
 opends/resource/webstart/create-webstart-standalone.sh |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/opends/resource/webstart/create-webstart-standalone.sh b/opends/resource/webstart/create-webstart-standalone.sh
index e8c48d6..94e7a62 100755
--- a/opends/resource/webstart/create-webstart-standalone.sh
+++ b/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}"
 

--
Gitblit v1.10.0