3 # The essential directories for the proper functioning of charm++ is
4 # usually linked to the latest build version. For the convenience of
5 # users wishing to alternate between different builds of charm++,
6 # a simple script has been provided.
8 # Usage: relink.script <build-version-name-string>
10 # Example: relink.script net-linux-smp.
11 # 10/13/2003 by Chee Wai Lee
14 # Gengbin Zheng 1/15/2004
18 echo "$0 <directory>" && exit 1
21 subdirs
="bin include lib lib_so tmp"
23 # remove symbolic link
28 # skip nonexistent subdir
29 test ! -d $1/$i && continue;