1) If called with no args, ./configure.sh now uses a default script file
[jnode:svn-mirror.git] / configure.sh
1 #!/bin/sh
2 CMD=`type -p $0`
3 DIR=`dirname $CMD`
4
5 # Belt and braces classpath to get the most recent version
6 # of the 'configure' classes that we can find.
7 CP=$DIR/builder/build/classes:\
8 $DIR/all/build/descriptors/jnode-configure.jar:\
9 $DIR/builder/lib/jnode-configure-dist.jar:\
10 $DIR/builder/lib/nanoxml-2.2.3.jar
11
12 if [ $# = 0 ] ; then
13     java -cp $CP org.jnode.configure.Configure all/conf-source/script.xml
14 else
15     java -cp $CP org.jnode.configure.Configure "$@"
16 fi
17