From 0084925ab2ec9585c768fedce4c6ea0a95f95b64 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 12 Jun 2006 16:08:52 -0300 Subject: fix: whitespace cleanup were at wrong place From: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- mailimport | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mailimport b/mailimport index e6e4df411..318d08aad 100755 --- a/mailimport +++ b/mailimport @@ -86,8 +86,6 @@ apply_patch () { fi done - make whitespace - committer=`grep "Committer:" $TMP2|sed s/"#Committer: "//` if [ "$usemq" != "" ]; then @@ -110,9 +108,12 @@ apply_patch () { echo hg -m "`cat $TMP2|grep -v "^#"`" qnew $name hg qnew -m "`cat $TMP2|grep -v "^#"`" $name + make whitespace hg qrefresh else patch -s -t -p1 -l -N -d $pdir -i $next + make whitespace + if [ "$?" != "0" ]; then echo "*** ERROR at: patch -s -t -p1 -l -N -d $pdir -i $next" exit -- cgit v1.2.3