equal
deleted
inserted
replaced
46 JAVA=$TESTJAVA/bin/java |
46 JAVA=$TESTJAVA/bin/java |
47 JAR=$COMPILEJAVA/bin/jar |
47 JAR=$COMPILEJAVA/bin/jar |
48 |
48 |
49 DIR=`pwd` |
49 DIR=`pwd` |
50 case `uname` in |
50 case `uname` in |
51 SunOS | Linux | Darwin ) CPS=':' ;; |
51 SunOS | Linux | Darwin | AIX ) CPS=':' ;; |
52 Windows* ) CPS=';' ;; |
52 Windows* ) CPS=';' ;; |
53 CYGWIN* ) |
53 CYGWIN* ) |
54 DIR=`/usr/bin/cygpath -a -s -m $DIR` |
54 DIR=`/usr/bin/cygpath -a -s -m $DIR` |
55 CPS=";";; |
55 CPS=";";; |
56 *) echo "Unknown platform: `uname`"; exit 1 ;; |
56 *) echo "Unknown platform: `uname`"; exit 1 ;; |
79 if [ $# -gt 0 ]; then |
79 if [ $# -gt 0 ]; then |
80 # Use locale specified on command line, if it's supported |
80 # Use locale specified on command line, if it's supported |
81 L="$1" |
81 L="$1" |
82 shift |
82 shift |
83 s=`uname -s` |
83 s=`uname -s` |
84 if [ $s != Linux -a $s != SunOS -a $s != Darwin ]; then |
84 if [ $s != Linux -a $s != SunOS -a $s != Darwin -a $s != AIX ]; then |
85 echo "$L: Locales not supported on this system, skipping..." |
85 echo "$L: Locales not supported on this system, skipping..." |
86 exit 0 |
86 exit 0 |
87 fi |
87 fi |
88 if [ "x`locale -a | grep $L`" != "x$L" ]; then |
88 if [ "x`locale -a | grep $L`" != "x$L" ]; then |
89 echo "$L: Locale not supported, skipping..." |
89 echo "$L: Locale not supported, skipping..." |