From 2e501464fc977da313259e3286379107028d3946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Fri, 18 May 2007 12:52:33 +0000 Subject: [PATCH] future port --- pisi/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/util.py b/pisi/util.py index 7702cc6c..aff8e0fa 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -492,12 +492,12 @@ def do_patch(sourceDir, patchFile, level = 0): if not os.path.exists(patchesDir): os.makedirs(patchesDir) # Import original patch into quilt tree - (ret, out, err) = run_batch('quilt import -p %d -n %s %s' % (level, os.path.basename(patchFile), patchFile)) + (ret, out, err) = run_batch('quilt import -p %d -n %s \"%s\"' % (level, os.path.basename(patchFile), patchFile)) # run quilt push to apply original patch into tree (ret, out, err) = run_batch('quilt push') else: # run GNU patch to apply original patch into tree - (ret, out, err) = run_batch("patch -p%d < %s" % + (ret, out, err) = run_batch("patch -p%d < \"%s\"" % (level, patchFile)) if ret: if out is None and err is None: