2 # $XConsortium: syminst.sh /main/2 1995/07/19 18:05:57 drk $
5 # syminst - install with a symbolic link back to the build tree
8 # set DOITPROG to echo to test this script
13 # put in absolute paths if you don't have them in your path; or use env. vars.
15 lnprog="${LNPROG-ln -s}"
24 while [ x"$1" != x ]; do
44 -DIR) srcdir=`echo $2 | sed 's;/\./;/;g'`/
62 echo "syminst: no input file specified"
68 echo "syminst: no destination specified"
73 # if destination is a directory, append the input filename; if your system
74 # does not like double slashes in filenames, you may need to add some logic
78 dst="$dst"/`basename $src`
86 # get rid of the old one and mode the new one in
89 $doit $instcmd $srcdir$src $dst