mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
commit
83b6996daa
18978 changed files with 3945623 additions and 0 deletions
46
cde/databases/findMissingFiles
Executable file
46
cde/databases/findMissingFiles
Executable file
|
|
@ -0,0 +1,46 @@
|
|||
#! /bin/sh
|
||||
# $XConsortium: findMissingFiles /main/4 1996/08/27 10:11:14 drk $
|
||||
# find missing files that a fileset sez we should be delivering
|
||||
# desparately need a list of filesets delivered for each product
|
||||
|
||||
usage ()
|
||||
{
|
||||
echo "usage: $PRGNAME -tree buildtree filesets"
|
||||
echo " Uses .db from current directory."
|
||||
}
|
||||
|
||||
PRGNAME=$0
|
||||
|
||||
if [ $# -lt 3 ]
|
||||
then
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
buildtree=$2
|
||||
shift 2
|
||||
if [ ! -d $buildtree ]
|
||||
then
|
||||
if [ ! -d /x/$buildtree ]
|
||||
then
|
||||
echo Cannot find $buildtree or /x/$buildtree
|
||||
usage
|
||||
exit 2
|
||||
else
|
||||
buildtree=/x/$buildtree
|
||||
fi
|
||||
fi
|
||||
|
||||
for fileset in $@
|
||||
do
|
||||
if [ -r $fileset.db ]
|
||||
then
|
||||
echo ${fileset}:
|
||||
for file in `fgrep a_out_location $fileset.db | cut -sf 2 -d \: `
|
||||
do
|
||||
[ -r $buildtree/$file ] || echo " $file"
|
||||
done
|
||||
else
|
||||
echo $fileset.db not found
|
||||
fi
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue