diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-17 11:08:38 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-17 11:11:39 +0300 |
commit | 4e28ad9e47a2c5e68bee9685ed6aa83ea37ec4fe (patch) | |
tree | 734391e6563df02d4439b21538b364c5859b786a | |
parent | efc490c4a8da5ce7a0bd1bf4a20009c3a445bb47 (diff) | |
download | git-buildpackage-4e28ad9e47a2c5e68bee9685ed6aa83ea37ec4fe.tar.gz git-buildpackage-4e28ad9e47a2c5e68bee9685ed6aa83ea37ec4fe.tar.bz2 git-buildpackage-4e28ad9e47a2c5e68bee9685ed6aa83ea37ec4fe.zip |
import-orig-rpm: download tarball into parent directory
Prevents dirtying of the current Git working directory.
Change-Id: I6eca70b647130a380ba67d5b90fc23354b3974ea
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-x | gbp/scripts/import_orig_rpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/import_orig_rpm.py b/gbp/scripts/import_orig_rpm.py index 1d3972a4..b1247f1e 100755 --- a/gbp/scripts/import_orig_rpm.py +++ b/gbp/scripts/import_orig_rpm.py @@ -116,7 +116,7 @@ def find_source(spec, options, args): else: path = args[0] if re.match(r'[a-z]{1,5}://', path): - path = download_file('.', path) + path = download_file('..', path) return RpmUpstreamSource(path) |