updated
authorChris Koeritz <fred@gruntose.com>
Mon, 12 Mar 2012 16:33:47 +0000 (12:33 -0400)
committerChris Koeritz <fred@gruntose.com>
Mon, 12 Mar 2012 16:33:47 +0000 (12:33 -0400)
examples/custom_overrides/fred/java_profile.sh

index 612308e698b791000c8b3186f797b1bbd2c36fbb..b7244aa2b865d8c9c60343267b1a4c06b934b367 100755 (executable)
@@ -121,14 +121,14 @@ if [ ! -z "$JAVA_HOME" ]; then
   if [ ! -z "$(uname -a | grep -i cygwin)" ]; then
     j=$(echo $j | sed -e 's/^\(.\):/\/cygdrive\/\1/')
   fi
-  export PATH=$PATH:$j/$JAVA_BIN_PIECE
+  export PATH=$j/$JAVA_BIN_PIECE:$PATH
 fi
 if [ ! -z "$ECLIPSE_DIR" ]; then
   e="$ECLIPSE_DIR"
   if [ ! -z "$(uname -a | grep -i cygwin)" ]; then
     e=$(echo $e | sed -e 's/^\(.\):/\/cygdrive\/\1/')
   fi
-  export PATH=$PATH:$e
+  export PATH=$e:$PATH
 fi
 
 ############################