You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/02/26 10:18:02 UTC
cvs commit: jakarta-avalon-phoenix/src/script run.sh
donaldp 02/02/26 01:18:02
Modified: src/script run.sh
Log:
Only set PHOENIX_HOME if it hasn't already been set.
Revision Changes Path
1.5 +5 -2 jakarta-avalon-phoenix/src/script/run.sh
Index: run.sh
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/script/run.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- run.sh 15 Jul 2001 03:02:24 -0000 1.4
+++ run.sh 26 Feb 2002 09:18:02 -0000 1.5
@@ -2,7 +2,7 @@
#
# Phoenix start script.
#
-# Author: Peter Donald <do...@apache.org>
+# Author: Peter Donald <pe...@apache.org>
#
# The user may choose to supply parameters to the JVM (such as memory settings)
# via setting the environment variable PHOENIX_JVM_OPTS.
@@ -29,7 +29,10 @@
THIS_PROG=$PWD
fi
-PHOENIX_HOME=$THIS_PROG/..
+if [ "$PHOENIX_HOME" = "" ] ; then
+ PHOENIX_HOME=$THIS_PROG/..
+fi
+
unset THIS_PROG
# echo "Home directory: $PHOENIX_HOME"
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>