From f1663fb54de3b7acf15f4bedb5ab4c0f6e8f5a68 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Wed, 20 Feb 2008 09:52:41 +0000 Subject: [PATCH] Do not create .orig files after patching --- pisi/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/util.py b/pisi/util.py index b6f3e83b..808d5a70 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -470,7 +470,7 @@ def do_patch(sourceDir, patchFile, level = 0): (ret, out, err) = run_batch('quilt push') else: # run GNU patch to apply original patch into tree - (ret, out, err) = run_batch("patch --remove-empty-files -p%d < \"%s\"" % (level, patchFile)) + (ret, out, err) = run_batch("patch --remove-empty-files --no-backup-if-mismatch -p%d < \"%s\"" % (level, patchFile)) if ret: if out is None and err is None: