| 1 | #!/bin/sh |
| 2 | # K. Banse ESO - Garching |
| 3 | # 070716 creation |
| 4 | # |
| 5 | # this script will copy the Sun specific "inmidas.sh" shell script |
| 6 | # from |
| 7 | # $MIDASHOME/$MIDVERS/local |
| 8 | # to |
| 9 | # $MIDASHOME/$MIDVERS/system/unix/ |
| 10 | # |
| 11 | # 070810 last modif |
| 12 | |
| 13 | |
| 14 | cat $MIDASHOME/$MIDVERS/local/inmidas.sh > \ |
| 15 | $MIDASHOME/$MIDVERS/system/unix/inmidas |
| 16 | |
| 17 | chmod a+x $MIDASHOME/$MIDVERS/system/unix/inmidas |
| 18 | |
| 19 | myhost=`uname -n` |
| 20 | if [ $myhost = "dmdsol8b" ] ; then |
| 21 | echo "don't contaminate /midas/version/system/unix dir..." |
| 22 | else |
| 23 | mv $MIDASHOME/$MIDVERS/local/inmidas.sh \ |
| 24 | $MIDASHOME/$MIDVERS/system/unix/inmidas.sh |
| 25 | fi |
| 26 | |
| 27 | exit |