Unique matching for package name when grepping for it in the master list.
This commit is contained in:
parent
e7dea9c609
commit
7f423d0fa2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue