cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r306566 - /cocoon/branches/BRANCH_2_1_X/build.sh
Date Thu, 06 Oct 2005 09:49:59 GMT
Author: vgritsenko
Date: Thu Oct  6 02:49:54 2005
New Revision: 306566

URL: http://svn.apache.org/viewcvs?rev=306566&view=rev
Log:
Bug #33315: improve cygwin detection

Modified:
    cocoon/branches/BRANCH_2_1_X/build.sh

Modified: cocoon/branches/BRANCH_2_1_X/build.sh
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/build.sh?rev=306566&r1=306565&r2=306566&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/build.sh (original)
+++ cocoon/branches/BRANCH_2_1_X/build.sh Thu Oct  6 02:49:54 2005
@@ -19,11 +19,10 @@
 
 # ----- Verify and Set Required Environment Variables -------------------------
 
-if [ "$TERM" = "cygwin" ] ; then
-  S=';'
-else
-  S=':'
-fi
+S=":";
+case "`uname`" in
+   CYGWIN*) S=";" ;;
+esac
 
 # ----- Ignore system CLASSPATH variable
 OLD_CLASSPATH="$CLASSPATH"



Mime
View raw message