fixed grep usage in filter (again)

This commit is contained in:
Ben Gras 2009-10-02 13:29:36 +00:00
parent 85ad7b6b11
commit fb5b10a081

View file

@ -245,7 +245,7 @@ then echo " * Transfering $PACKAGEDIR to $RELEASEPACKAGE"
do if [ -f $PACKAGEDIR/$p.tar.bz2 ]
then
cp $PACKAGEDIR/$p.tar.bz2 $RELEASEPACKAGE/
grep $p '^$PACKAGEDIR/List\|' >>$RELEASEPACKAGE/List || echo "$p not found in List"
grep "^$p|" $PACKAGEDIR/List >>$RELEASEPACKAGE/List || echo "$p not found in List"
else
echo "Can't copy $PACKAGEDIR/$p.tar.bz2. Missing."
fi