NetBSD/distrib/sets/checkflist
1994-08-29 15:21:02 +00:00

14 lines
248 B
Tcsh
Executable File

#!/bin/csh -f
if (! $?DESTDIR) then
echo DESTDIR must be set
exit 1
endif
set fsdir=$DESTDIR
makeflist >! /tmp/_CHECK.$$
( cd $fsdir ; find . \( -type d -o -type f -o -type l \) ) | sort | \
diff /tmp/_CHECK.$$ -
/bin/rm -f /tmp/_CHECK.$$