summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmailimport3
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