Fixes submitted by Lieven de Cock:
[Fobs.git] / buildFobs.sh
blob1f1d637901c89a5973bb91770a43c2309ab47cac
1 #!/bin/sh
3 for i in $*
4 do
5 if [ "$i" = "--help" ] ; then
6 echo syntax: $0 [OPTIONS]
7 echo
8 echo OPTIONS List - Use only absolute paths:
9 python scons-local/scons.py -Q -f SInit -h && exit
11 if [ "$i" = "clean" ] ; then
12 echo Cleaning project:
13 python scons-local/scons.py -c && exit
15 done
17 SYSTEM_ROOT=`cd / && python -c "import os;print os.getcwd()"`
18 python scons-local/scons.py -Q -f SInit SYSTEM_ROOT=$SYSTEM_ROOT $*
19 python scons-local/scons.py $*