diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-11 08:24:05 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-11 08:24:05 -0200 |
commit | 5d67023620ccaaa3f069e4b3477eca1f6c9a0eec (patch) | |
tree | 1725ca98f0bb5377ba32cbe67738924b68434778 /mailimport | |
parent | 0211bdd025a9d152eab4fd4643945a40bbf9cda2 (diff) | |
download | mediapointer-dvb-s2-5d67023620ccaaa3f069e4b3477eca1f6c9a0eec.tar.gz mediapointer-dvb-s2-5d67023620ccaaa3f069e4b3477eca1f6c9a0eec.tar.bz2 |
Relax regexp for seeking changes at CARDLIST
From: Mauro Carvalho Chehab <mchehab@infradead.org>
The mailimport script automatically re-generates cardlists. However, a
small "extra" caracter is causing some troubles...
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'mailimport')
-rwxr-xr-x | mailimport | 3 |
1 files changed, 1 insertions, 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 |