[rhmessaging-commits] rhmessaging commits: r1588 - mgmt/cumin/bin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Mon Jan 21 02:13:18 EST 2008


Author: justi9
Date: 2008-01-21 02:13:17 -0500 (Mon, 21 Jan 2008)
New Revision: 1588

Modified:
   mgmt/cumin/bin/cumin
Log:
Sets CUMIN_HOME if it is not already set.



Modified: mgmt/cumin/bin/cumin
===================================================================
--- mgmt/cumin/bin/cumin	2008-01-21 04:07:42 UTC (rev 1587)
+++ mgmt/cumin/bin/cumin	2008-01-21 07:13:17 UTC (rev 1588)
@@ -2,6 +2,9 @@
 
 import sys, os
 
+if "CUMIN_HOME" not in os.environ:
+    os.environ["CUMIN_HOME"] = "/usr/share/cumin"
+
 def usage():
     print """
 Usage: cumin OPTIONS




More information about the rhmessaging-commits mailing list