new quilt uses -P
This commit is contained in:
+1
-1
@@ -495,7 +495,7 @@ def do_patch(sourceDir, patchFile, level = 0):
|
|||||||
if not os.path.exists(patchesDir):
|
if not os.path.exists(patchesDir):
|
||||||
os.makedirs(patchesDir)
|
os.makedirs(patchesDir)
|
||||||
# Import original patch into quilt tree
|
# 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 -P %s \"%s\"' % (level, os.path.basename(patchFile), patchFile))
|
||||||
# run quilt push to apply original patch into tree
|
# run quilt push to apply original patch into tree
|
||||||
(ret, out, err) = run_batch('quilt push')
|
(ret, out, err) = run_batch('quilt push')
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user