rubys 2004/04/01 12:38:39
Modified: . gumpy.sh
Log:
Ensure $GUMP_WS_TMP exists
Revision Changes Path
1.33 +8 -0 gump/gumpy.sh
Index: gumpy.sh
===================================================================
RCS file: /home/cvs/gump/gumpy.sh,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- gumpy.sh 19 Mar 2004 18:19:18 -0000 1.32
+++ gumpy.sh 1 Apr 2004 20:38:39 -0000 1.33
@@ -83,6 +83,14 @@
exit 1
fi
+if [ ! -d $GUMP_WS_TMP ] ; then
+ mkdir -p $GUMP_WS_TMP;
+fi
+if [ ! -d $GUMP_WS_TMP ] ; then
+ echo "Failed to create the directory \$GUMP_WS_TMP variable, can't continue."
+ exit 1
+fi
+
#
# Generate gumpy.html from this (into the WWW site)
@@ -238,8 +246,6 @@
pkill -KILL -P $$
# $Log$
-# Revision 1.32 2004/03/19 18:19:18 ajack
-# 1) Make gumpy.sh cat log file to log directory, whenever it exits.
-# 2) Attempt to fix <ant <depend to set classpath.
-# 3) Unit tests for this and <ant <property
+# Revision 1.33 2004/04/01 20:38:39 rubys
+# Ensure $GUMP_WS_TMP exists
#
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]