From 5d67023620ccaaa3f069e4b3477eca1f6c9a0eec Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 11 Jan 2008 08:24:05 -0200 Subject: Relax regexp for seeking changes at CARDLIST From: Mauro Carvalho Chehab The mailimport script automatically re-generates cardlists. However, a small "extra" caracter is causing some troubles... Signed-off-by: Mauro Carvalho Chehab --- mailimport | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mailimport b/mailimport index bd834123a..a086b30a7 100755 --- a/mailimport +++ b/mailimport @@ -110,13 +110,12 @@ apply_patch () { fi # Commit the changed files - CARDLIST="`hg status -n -m|grep ^CARDLIST. |cut -b 3-`" + CARDLIST="`hg status -n -m|grep CARDLIST. |cut -b 3-`" FILES="" for i in `diffstat -p1 -l $next`; do FILES="$FILES `pwd`/$i" done - if [ "$FILES" == "" ]; then echo "*** ERROR nothing to commit" cd $cur -- cgit v1.2.3