Re: sys.argv index out of range error

2007-09-13 Thread Ian Clark
Brian McCann wrote: > init.sh > > #!/bin/sh > WORKSPACE_ROOT="$1"; > > export > JAVA_OPTIONS="-Djava.library.path=$WORKSPACE_ROOT/:$WORKSPACE_ROOT/:$WORKSPACE_ROOT/" > echo "JAVA_OPTIONS="$JAVA_OPTIONS; > > set > PATH="$WORKSPACE_ROOT/vendor/basistech/rlp5.4/rlp/bin/ia32-glibc23-gcc32:$WORKSP

Re: sys.argv index out of range error

2007-09-13 Thread Miles
On 9/13/07, Brian McCann wrote: > bootstrap.sh > #!/bin/sh > cd /home/workspaces > export LANG="en_US.UTF-8" > > source init $1 > test.py $2 > # > > what's wrong with the line "source init $1 ? Assuming your /bin/sh is actually the Bourne-again shell, this excerpt

sys.argv index out of range error

2007-09-13 Thread Brian McCann
Hi, I trying to create a bootstrap.sh shell script that takes two command line args that passes them to two scripts. one script is init.sh that sets up some environment varilables the other will be a Python script used as the main build script. the contents of the bootstrap file and init.sh a