#!	/bin/csh	-f

# If there's a manifest here, check it against what's been delivered

# Geoffrey Leach
# LatiCorp Inc.	
# {att,bellcore,sun,ames,pyramid}!pacbell!laticorp!geoff

if ( $#argv == 1 ) then
    set MANIFEST = $1
else
    if ( -e MANIFEST ) then
	set MANIFEST = "MANIFEST"
    else
	if ( -e Manifest ) set MANIFEST = "Manifest"
    endif
endif
if ( $?MANIFEST ) then
    echo Checking manifest
    foreach f ( `awk '{if ( NR > 2 ) print $1}' ${MANIFEST}` )
	if ( ! -e $f ) echo $f not delivered
    end
endif
