From: Ben Gras Date: Fri, 2 Oct 2009 13:02:36 +0000 (+0000) Subject: Unique matching for package name when grepping for it in the master list. X-Git-Tag: v3.1.5~36 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=7f423d0fa235a115e17a7c8df1392445d7d9476a;p=minix.git Unique matching for package name when grepping for it in the master list. --- 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