checkflist revision 1.3
11.3Smikel#! /bin/sh --
21.3Smikel#
31.3Smikel#	$NetBSD: checkflist,v 1.3 1997/02/18 06:58:56 mikel Exp $
41.3Smikel#
51.3Smikel# Verify output of makeflist against contents of $DESTDIR.
61.1Scgd
71.3Smikel[ "$DESTDIR" ] || {
81.1Scgd	echo DESTDIR must be set
91.1Scgd	exit 1
101.3Smikel}
111.1Scgd
121.3Smikelsh makeflist > /tmp/_CHECK.$$
131.3Smikel( cd $DESTDIR ; find . \( -type d -o -type f -o -type l \) ) | sort | \
141.1Scgd    diff /tmp/_CHECK.$$ -
151.1Scgd/bin/rm -f /tmp/_CHECK.$$
16