Fix check_unpackaged. We didn't really need that CMP since all the work was
being done with cat | sort | uniq -u anyway.
This commit is contained in:
parent
e13ebe8b9f
commit
b9c7b5c0ee
@ -373,7 +373,6 @@ check_unpackaged()
|
||||
$FIND . -type d -print|$SED -e 's/\.\///g'|$GREP -v '^\.' >> $tmpdir/files.tmp
|
||||
$SORT $metadir/files.tmp|$UNIQ > $tmpdir/f1
|
||||
$SORT $tmpdir/files.tmp > $tmpdir/f2
|
||||
if [ ! "$($CMP $tmpdir/f1 $tmpdir/f2)" == "" ]; then
|
||||
upf="$($CAT $tmpdir/f1 $tmpdir/f2 | $SORT | $UNIQ -u)"
|
||||
if [ ! -z "$upf" ]; then
|
||||
echo "There are unpackaged files in the stagedir:"
|
||||
@ -381,7 +380,6 @@ check_unpackaged()
|
||||
do
|
||||
echo "${indent4}${i}"
|
||||
done
|
||||
fi
|
||||
$RM -f $tmpdir/f1 $tmpdir/f2
|
||||
if [ "$ignore_unpackaged_files" -eq 0 ]; then
|
||||
error $E_UNPACKAGED_FILES check_unpackaged
|
||||
|
Loading…
x
Reference in New Issue
Block a user