Home | History | Annotate | Line # | Download | only in sets
checkflist revision 1.3.2.1
      1      1.3   mikel #! /bin/sh --
      2      1.3   mikel #
      3  1.3.2.1  mellon #	$NetBSD: checkflist,v 1.3.2.1 1997/10/28 23:30:34 mellon Exp $
      4      1.3   mikel #
      5      1.3   mikel # Verify output of makeflist against contents of $DESTDIR.
      6      1.1     cgd 
      7      1.3   mikel [ "$DESTDIR" ] || {
      8      1.1     cgd 	echo DESTDIR must be set
      9      1.1     cgd 	exit 1
     10      1.3   mikel }
     11      1.1     cgd 
     12  1.3.2.1  mellon if [ "$1" = "-x11" ]; then
     13  1.3.2.1  mellon 	sh makeflist -x11 > /tmp/_CHECK.$$
     14  1.3.2.1  mellon else
     15  1.3.2.1  mellon 	sh makeflist > /tmp/_CHECK.$$
     16  1.3.2.1  mellon fi
     17      1.3   mikel ( cd $DESTDIR ; find . \( -type d -o -type f -o -type l \) ) | sort | \
     18      1.1     cgd     diff /tmp/_CHECK.$$ -
     19      1.1     cgd /bin/rm -f /tmp/_CHECK.$$
     20