setup.sh

Support script. The current script is maintained in ~/Dropbox/Dawn-shape/scripts-limited-copy.

Creates symbolic links in the current directory to static resources.

Generated by

Used by

Details

# 11 Dec 2011 - Eric E. Palmer
# Version 1.2
# Creates symbolic links for static data


# You need to change this to match your path
# You cannot use ~ if you have things on different volumes
static="/Users/epalmer/Dropbox/Dawn-shape/Vesta"

echo "-- Setting up symbolic links to the static directory: $static"

list="BLEMISHES IMAGEFILES INIT_LITHOS.TXT LIMBLIST.TXT PICTLIST.TXT PICTLISTX.TXT POLE.TXT TEMPLATES SHAPEFILES NOMINALS XXX050.SEED XXX128.SEED XXX320.SEED XXX800.SEED"

for i in $list
do
   if [ ! -e $i ]; then
      ln -s $static/$i $i
   fi

done