aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-12-07 09:44:23 +0100
committerGuido Günther <agx@sigxcpu.org>2016-12-07 10:13:08 +0100
commitce42aadc61a717a0af367618573c496040e96f4b (patch)
tree02b12468159b59fedb4337291436c7c69bea58ec /gbp
parent84a0062b0724603b2bcd2fb940eb6d9ecb1a046b (diff)
pq_rpm: use relative path names for patches
Based on a patch from Tzafrir Cohen Closes: #834582
Diffstat (limited to 'gbp')
-rwxr-xr-xgbp/scripts/pq_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pq_rpm.py b/gbp/scripts/pq_rpm.py
index 9a32c1c2..7108610e 100755
--- a/gbp/scripts/pq_rpm.py
+++ b/gbp/scripts/pq_rpm.py
@@ -117,7 +117,7 @@ def generate_patches(repo, start, end, outdir, options):
if patch_fn:
patches.append(patch_fn)
- return patches, commands
+ return [os.path.relpath(p) for p in patches], commands
def rm_patch_files(spec):