From 7f423d0fa235a115e17a7c8df1392445d7d9476a Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 2 Oct 2009 13:02:36 +0000 Subject: [PATCH] Unique matching for package name when grepping for it in the master list. --- tools/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/release.sh b/tools/release.sh index 5c43c0f66..32c9dd19a 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -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 -- 2.44.0