NetBSD/distrib/sets/checkflist

14 lines
250 B
Plaintext
Raw Normal View History

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