summaryrefslogtreecommitdiff
path: root/distrib/sets/checkflist
blob: 14aefd9ae1847e0cbd0fc33602eee058f59df428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/csh -f
#	$OpenBSD: checkflist,v 1.3 2000/03/01 22:10:08 todd Exp $


if (! $?DESTDIR) then
	echo DESTDIR must be set
	exit 1
endif

set fsdir=$DESTDIR

csh makeflist >! /tmp/_CHECK.$$
( cd $fsdir ; find . \( -type d -o -type f -o -type l \) ) | sort | \
    diff /tmp/_CHECK.$$ -
/bin/rm -f /tmp/_CHECK.$$