tests/prep/Heretests/Anick/newbmcalc
raw| 1 | if [ -f scriptpattern ]; then |
| 2 | if test "$1" = ""; then |
| 3 | echo \*\*\*\* No arguments |
| 4 | echo \*\*\*\* Usege\: calc \<GB_file.a\> |
| 5 | exit |
| 6 | fi |
| 7 | echo Removing the old script... |
| 8 | if [ -f __script.sl ]; then |
| 9 | rm __script.sl |
| 10 | fi |
| 11 | sed ''/INSTANCE/s//$1/'' scriptpattern > __script.sl |
| 12 | __runNewbergbg $1 |
| 13 | else |
| 14 | echo Cannot find \"scriptpattern\" file, aborting... |
| 15 | fi |
| 16 | |
| 17 | echo newbmcalc script done, but __runNewbergbg may run. |