1997-02-18 09:58:56 +03:00
|
|
|
#! /bin/sh --
|
|
|
|
#
|
|
|
|
# $NetBSD: checkflist,v 1.3 1997/02/18 06:58:56 mikel Exp $
|
|
|
|
#
|
|
|
|
# Verify output of makeflist against contents of $DESTDIR.
|
1994-08-29 19:21:02 +04:00
|
|
|
|
1997-02-18 09:58:56 +03:00
|
|
|
[ "$DESTDIR" ] || {
|
1994-08-29 19:21:02 +04:00
|
|
|
echo DESTDIR must be set
|
|
|
|
exit 1
|
1997-02-18 09:58:56 +03:00
|
|
|
}
|
1994-08-29 19:21:02 +04:00
|
|
|
|
1997-02-18 09:58:56 +03:00
|
|
|
sh makeflist > /tmp/_CHECK.$$
|
|
|
|
( cd $DESTDIR ; find . \( -type d -o -type f -o -type l \) ) | sort | \
|
1994-08-29 19:21:02 +04:00
|
|
|
diff /tmp/_CHECK.$$ -
|
|
|
|
/bin/rm -f /tmp/_CHECK.$$
|