[rhmessaging-commits] rhmessaging commits: r1049 - mgmt/bin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Sat Oct 13 15:20:49 EDT 2007


Author: justi9
Date: 2007-10-13 15:20:49 -0400 (Sat, 13 Oct 2007)
New Revision: 1049

Modified:
   mgmt/bin/cumindev
Log:
Instead of assuming, error out if CUMINDEV_HOME isn't set.



Modified: mgmt/bin/cumindev
===================================================================
--- mgmt/bin/cumindev	2007-10-13 19:06:31 UTC (rev 1048)
+++ mgmt/bin/cumindev	2007-10-13 19:20:49 UTC (rev 1049)
@@ -1,7 +1,8 @@
 #!/bin/bash
 
 if [ -z "$CUMINDEV_HOME" ]; then
-    export CUMINDEV_HOME="${HOME}/cumindev"
+    echo "CUMINDEV_HOME not set"
+    exit 1
 fi
 
 echo "CUMINDEV_HOME is ${CUMINDEV_HOME}"




More information about the rhmessaging-commits mailing list