home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / diffs / buildmanifests.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1994-11-19  |  404b  |  19 lines

  1. #! /bin/sh
  2. #
  3. # This shell script takes care of building manifest files for the
  4. # diffs, using the diffs and associated files in this directory.
  5.  
  6. for dfile in *.diffs
  7. do
  8.     base=`basename $dfile .diffs`
  9.     rm -f /gnu/manifests/$base-diffs
  10.     echo -n "/gnu/manifests/$base-diffs: "
  11.     for fname in $base*
  12.     do
  13.         
  14.         echo -n "src/diffs/$fname "
  15.         echo "src/diffs/$fname" >>/gnu/manifests/$base-diffs
  16.     done
  17.     echo
  18. done
  19.