diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-18 10:14:09 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-18 10:14:09 -0300 |
commit | 852138d9d9c907ebdb3f80385f4ef1afd85e1621 (patch) | |
tree | d5b11b54a1249843ca62ee9da5180b33b7342848 /mailimport | |
parent | 21e7b71d43a101d79253fd292136ba2c9c847c8e (diff) | |
download | mediapointer-dvb-s2-852138d9d9c907ebdb3f80385f4ef1afd85e1621.tar.gz mediapointer-dvb-s2-852138d9d9c907ebdb3f80385f4ef1afd85e1621.tar.bz2 |
mailimport: Add a check printk before committing a patch
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'mailimport')
-rwxr-xr-x | mailimport | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mailimport b/mailimport index 7b233932e..76364aeea 100755 --- a/mailimport +++ b/mailimport @@ -112,6 +112,11 @@ apply_patch () { make whitespace hg qrefresh else + echo "WILL commit with this comment:" + cat $TMP2| grep -v "^#" + echo "Press <break> within 3 seconds if this is wrong." + sleep 3 + patch -s -t -p1 -l -N -d $pdir -i $next if [ "$?" != "0" ]; then echo "*** ERROR at: patch -s -t -p1 -l -N -d $pdir -i $next" |