From 921bacd24410481ad011069a0c861d392e6deece Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Wed, 23 Jun 2010 08:12:40 +0000 Subject: [PATCH] Fix packman for new grep, which doesn't support \+ in BREs --- commands/packman/packman.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] -- 2.44.0