home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 6 / FreshFish_September1994.bin / bbs / gnu / pdksh-4.9-src.lha / GNU / src / amiga / pdksh-4.9 / std / mklinks < prev   
Encoding:
Text File  |  1994-05-04  |  153 b   |  15 lines

  1. :
  2. # Make links 
  3. # we do it this way so that we can support symlinks
  4. # easily.
  5.  
  6. src=`pwd`
  7. cd $1
  8. shift
  9. LN="${LN:-ln}"
  10.  
  11. for f in $*
  12. do
  13.   $LN $src/$f .
  14. done
  15.