aboutsummaryrefslogtreecommitdiff
path: root/gbp/scripts/buildpackage_rpm.py
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2012-10-25 09:25:25 +0300
committerGuido G√ľnther <agx@sigxcpu.org>2017-01-20 17:17:54 +0100
commitf30bb9896f83f2c3d3c74de78e22f53d5849de9e (patch)
tree79a413d855d765d139aba217382181d19d24388c /gbp/scripts/buildpackage_rpm.py
parent5c23d417c47b2a1a38f3d62335dd88e7b9617754 (diff)
buildpackage: fix exporting of working copy when .git is not a directory
as is the case with git submodules lately, for example Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp/scripts/buildpackage_rpm.py')
-rw-r--r--gbp/scripts/buildpackage_rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py
index 889a863..fa5f76d 100644
--- a/gbp/scripts/buildpackage_rpm.py
+++ b/gbp/scripts/buildpackage_rpm.py
@@ -626,7 +626,7 @@ def main(argv):
gbp.log.err(err)
retval = 1
finally:
- drop_index()
+ drop_index(repo)
del_tmpdir()
if not options.tag_only: