Unique matching for package name when grepping for it in the master list.

This commit is contained in:
Ben Gras 2009-10-02 13:02:36 +00:00
parent e7dea9c609
commit 7f423d0fa2

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