| 1 | #! /bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # @(#)recipe.sh 19.1 (ESO-IPG) 02/25/03 14:10:53 |
| 3 | # |
| 4 | # Bourne shell script recipe.sh for VLT/NTT pipeline |
| 5 | # K. Banse 961203 |
| 6 | # |
| 7 | # this script checks if a sub-directory ./tmp_{MidasUnit}_pipe exists |
| 8 | # if so, this subdir is deleted and created afresh |
| 9 | # |
| 10 | # |
| 11 | if [scip-shell system . . `[`. -d ./tmp_$1_pipe ]; then |
| 12 | rmscip-shell system . . rm. -f ./tmp_$1_pipe/* |
| 13 | else |
| 14 | mkdirscip-shell system . . mkdir. ./tmp_$1_pipe |
| 15 | fi |
| 16 | # |