root/mkMhiLinks

Revision 229a9939c7428f890c09a00f7d794a46b476d9f7, 259 bytes (checked in by Paul Jimenez <pj@zachs.org>, 10 months ago)

add the wrapper script and the auto-link-creator script

  • Property mode set to 100755
Line 
1 #!/bin/sh
2
3 $destdir = $1
4 if [ "x$destdir" = "x"]; then
5     echo "Must specify a destination directory for the links and wrapper script.";
6     exit 1;
7 fi
8
9 cp mhiWrap $destdir
10 ( cd $destdir
11   mhi | sed 's/^.*: //' | tr -s ', ' '\n' | xargs -n 1 ln -s mhiWrap
12 )
Note: See TracBrowser for help on using the browser.