summaryrefslogtreecommitdiff
path: root/mailimport
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-10 14:29:11 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-10 14:29:11 -0300
commit7b1dd4f2f9eabe19369f76fa871d6978eba4c79d (patch)
tree9d22bd5aea45affb844fe9ffdd31864ff2c4121c /mailimport
parent02474d0a0181592ab0ce78cc5b536b76d23a4799 (diff)
downloadmediapointer-dvb-s2-7b1dd4f2f9eabe19369f76fa871d6978eba4c79d.tar.gz
mediapointer-dvb-s2-7b1dd4f2f9eabe19369f76fa871d6978eba4c79d.tar.bz2
Allows go ahead when a patch is not appling
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'mailimport')
-rwxr-xr-xmailimport7
1 files changed, 6 insertions, 1 deletions
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