[rhmessaging-commits] rhmessaging commits: r2581 - mgmt/trunk/etc.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Thu Oct 2 14:16:43 EDT 2008


Author: justi9
Date: 2008-10-02 14:16:42 -0400 (Thu, 02 Oct 2008)
New Revision: 2581

Modified:
   mgmt/trunk/etc/devel.profile
Log:
Make the bash devel.profile a little more bashy

Modified: mgmt/trunk/etc/devel.profile
===================================================================
--- mgmt/trunk/etc/devel.profile	2008-10-02 18:16:14 UTC (rev 2580)
+++ mgmt/trunk/etc/devel.profile	2008-10-02 18:16:42 UTC (rev 2581)
@@ -3,11 +3,11 @@
 
 # PYTHONPATH
 
-if test -z "$DEVEL_ORIGINAL_PYTHONPATH"; then
+test -z "$DEVEL_ORIGINAL_PYTHONPATH" && {
     export DEVEL_ORIGINAL_PYTHONPATH="$PYTHONPATH"
-fi
+}
 
-pypath="$DEVEL_HOME"/lib/python:"$HOME"/lib/python:"$DEVEL_ORIGINAL_PYTHONPATH"
+pypath="${DEVEL_HOME}/lib/python:${HOME}/lib/python:${DEVEL_ORIGINAL_PYTHONPATH}"
 
 for module in $DEVEL_MODULES; do
     pypath="$DEVEL_HOME"/"$module"/python:"$pypath"
@@ -17,17 +17,17 @@
 
 # PATH
 
-if test -z "$DEVEL_ORIGINAL_PATH"; then
+test -z "$DEVEL_ORIGINAL_PATH" && {
     export DEVEL_ORIGINAL_PATH="$PATH"
-fi
+}
 
-path="$DEVEL_HOME"/bin:"$DEVEL_ORIGINAL_PATH"
+path="${DEVEL_HOME}/bin:${DEVEL_ORIGINAL_PATH}"
 
 for module in $DEVEL_MODULES; do
-    path="$DEVEL_HOME"/"$module"/bin:"$path"
+    path="$DEVEL_HOME/${module}/bin:${path}"
 done
 
 export PATH="$path"
 
 # cumin test instance
-export CUMIN_HOME="$DEVEL_HOME"/cumin-test-0
+export CUMIN_HOME="${DEVEL_HOME}/cumin-test-0"




More information about the rhmessaging-commits mailing list