From: Erik van der Kouwe Date: Wed, 23 Jun 2010 08:12:40 +0000 (+0000) Subject: Fix packman for new grep, which doesn't support \+ in BREs X-Git-Tag: v3.1.8~381 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/index.html?a=commitdiff_plain;h=921bacd24410481ad011069a0c861d392e6deece;p=minix.git Fix packman for new grep, which doesn't support \+ in BREs --- diff --git a/commands/packman/packman.sh b/commands/packman/packman.sh index bac7b837b..459258ea3 100644 --- a/commands/packman/packman.sh +++ b/commands/packman/packman.sh @@ -192,7 +192,7 @@ do cd $TMPDIR do ok=y if [ $packlistno -eq 0 ] - then pat="^[0-9]\+|$packno[-|.]" + then pat="^[1-9][0-9]*|$packno[-|.]" else pat="^$packno|" fi if [ "`grep -c $pat $TMPF`" -ne 1 ]