You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/07/07 02:41:03 UTC
cvs commit: avalon-sandbox/merlin/merlin-platform/src/bin merlin.sh
mcconnell 2003/07/06 17:41:03
Modified: merlin/merlin-platform/src/bin merlin.sh
Log:
Jakob Praher patch to merlin.sh addressing setup of the MERLIN_TMPDIR directory variable.
Revision Changes Path
1.2 +8 -0 avalon-sandbox/merlin/merlin-platform/src/bin/merlin.sh
Index: merlin.sh
===================================================================
RCS file: /home/cvs/avalon-sandbox/merlin/merlin-platform/src/bin/merlin.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- merlin.sh 10 Jun 2003 03:14:47 -0000 1.1
+++ merlin.sh 7 Jul 2003 00:41:03 -0000 1.2
@@ -66,6 +66,14 @@
. "$MERLIN_HOME"/bin/setenv.sh
fi
+if [ -z "$MERLIN_TMPDIR" ] ; then
+ MERLIN_TMPDIR=$MERLIN_HOME/tmp
+fi
+
+if [ ! -d $MERLIN_TMPDIR�] ; then
+ mkdir "$MERLIN_TMPDIR"
+fi
+
# Checking for JAVA_HOME is required on *nix due
# to some distributions stupidly including kaffe in /usr/bin
if [ "$JAVA_HOME" = "" ] ; then
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org