cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r306565 - /cocoon/trunk/build.sh
Date Thu, 06 Oct 2005 09:49:45 GMT
Author: vgritsenko
Date: Thu Oct  6 02:49:39 2005
New Revision: 306565

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

Modified:
    cocoon/trunk/build.sh

Modified: cocoon/trunk/build.sh
URL: http://svn.apache.org/viewcvs/cocoon/trunk/build.sh?rev=306565&r1=306564&r2=306565&view=diff
==============================================================================
--- cocoon/trunk/build.sh (original)
+++ cocoon/trunk/build.sh Thu Oct  6 02:49:39 2005
@@ -25,11 +25,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