summaryrefslogtreecommitdiff
path: root/Donjon/data/AFMtest.access
blob: dd8bf268d746178a08356e807442f418d65e10c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
if [ $# = 0 ]
   then
   echo "usage: AFMtest.access directory" 1>&2
   exit 1
fi
echo TINST.access
MACH=`uname -s`
Sysx="`echo $MACH | cut -b -6`"
if [ $Sysx = "CYGWIN" ]; then
   MACH=`uname -o`
elif [ $Sysx = "Darwin" ]; then
   MACH=`uname -sm | sed 's/[ ]/_/'`
elif [ $Sysx = "SunOS" ]; then
   MACH=`uname -sm | sed 's/[ ]/_/'`
elif [ $Sysx = "Linux" ]; then
   MACH=`uname -sm | sed 's/[ ]/_/'`
fi
ln -s "$1"/data/AFMtest_proc/FBMDT0 .
ln -s "$1"/data/AFMtest_proc/*nat .
ls -l
echo "AFMtest access script terminated"