Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / jsbuilder / JSBuilder.sh
1 #!/bin/sh
2 UNAME="$(uname)"
3 ARGUMENTS=$*
4 DIRNAME="$(dirname $0)"
5 if [ $UNAME = "Darwin" ] ; then
6     OS="mac"
7 elif [ ${UNAME%%_*} = "CYGWIN" ] ; then
8     OS="win"
9 elif [ ${UNAME%%32*} = "MINGW" ] ; then
10     OS="win"
11 elif [ ${UNAME%%64*} = "MINGW" ] ; then
12     OS="win"
13 else
14     OS="linux"
15 fi
16 CMD="$DIRNAME/jsdb/$OS/jsdb -path $DIRNAME $DIRNAME/bin/JSBuilder.js $ARGUMENTS"
17 $CMD