From 7b1dd4f2f9eabe19369f76fa871d6978eba4c79d Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 10 Mar 2006 14:29:11 -0300 Subject: Allows go ahead when a patch is not appling From: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- mailimport | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mailimport b/mailimport index 08a9ac34f..f1a64af35 100755 --- a/mailimport +++ b/mailimport @@ -10,6 +10,7 @@ #2) hg mailqueue. It is easier to manage patches using mq, allowing to work with # the patches before applying to the tree. +#exitonerror=1 head=v4l/scripts/hghead.pl if [ "$1" == "" ]; then @@ -44,7 +45,11 @@ apply_patch () { if [ "$?" != "0" ]; then $head $next echo "*** ERROR: Patch didn't applied well" - exit + if [ "$exitonerror" != "" ]; then + exit + else + return + fi fi fi -- cgit v1.2.3