Changeset 15090
- Timestamp:
- 03/18/13 14:39:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/start.sh
r14221 r15090 1 1 #!/bin/bash --login 2 2 3 CALL=`basename "$0"` 4 LINK=`readlink "$0"` 3 5 4 CMD="$*" 5 PRG="$1" 6 if [ -n "$LINK" -a $CALL != 'start.sh' ]; then 7 DIR=`dirname "$LINK"` 8 PRG=$DIR/$CALL 9 CMD=$PRG" "$* 10 else 11 DIR=`dirname "$0"` 12 PRG=$DIR/$1 13 CMD=$DIR/$* 14 fi 15 16 # echo DIR=$DIR 17 # echo PRG=$PRG 18 # echo CMD=$CMD 6 19 7 20 while [ true ]; do … … 22 35 fi 23 36 24 if [ -e compiling.lock ]; then37 if [ -e $DIR/compiling.lock ]; then 25 38 echo Compilation in progress... waiting 1s. 26 39 sleep 1 … … 66 79 67 80 done 68
Note:
See TracChangeset
for help on using the changeset viewer.