Changeset 343 for SH_SHM/trunk/setup/SHM-install.csh
- Timestamp:
- 03/10/2011 01:47:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SH_SHM/trunk/setup/SHM-install.csh
r340 r343 25 25 if (! -w $dstpath) then 26 26 echo "$0 : cannot write to installation path $dstpath. Abort." 27 exit 27 exit 1 28 28 endif 29 29 … … 73 73 if (! -e "$res") then 74 74 echo "Program $p not found in search path. Please add." 75 exit 75 exit 2 76 76 endif 77 77 end … … 95 95 set cmd="$<" 96 96 97 if ("$cmd" == "q") exit 97 if ("$cmd" == "q") exit 99 98 98 if ("$cmd" == "r") then 99 99 if ("$displ_res" == "xga") then … … 156 156 else 157 157 echo "$0 : sorry, this operating system is not supported" 158 exit 158 exit 3 159 159 endif 160 160 set locsatpath=$dstpath/sh/util/locsat … … 167 167 if ($plth > 25) then 168 168 echo "$0 : cannot find short locsat path. Abort." 169 exit 169 exit 4 170 170 endif 171 171 endif … … 209 209 if (! -e $origsetup) then 210 210 echo "Installation program error. Sorry." 211 exit 211 exit 5 212 212 endif 213 213 set thissetup=$dstpath/sh/inputs/shm-config.txt 214 if (-e $thissetup) \mv $thissetup $dstpath/sh/inputs/shm-config.txt.yours 214 if (-e $thissetup) then 215 \mv $thissetup $dstpath/sh/inputs/shm-config.txt.yours 216 echo "A backup of your shm-config.txt has been saved under:" 217 echo $dstpath/sh/inputs/shm-config.txt.yours 218 endif 215 219 sed "s@##EDITOR##@$editor@" $origsetup > $thissetup 216 220
Note: See TracChangeset
for help on using the changeset viewer.