added a little error checking
[charm.git] / relink.script
1 #!/bin/sh
2
3 if test ! -d "$1" 
4 then
5  echo "$0 <directory>"
6  exit 1
7 fi
8
9 rm -f bin include lib lib_so tmp
10
11 ln -s $1/bin bin
12 ln -s $1/include include
13 ln -s $1/lib lib
14 ln -s $1/lib_so lib_so
15 ln -s $1/tmp tmp