diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-30 17:46:41 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-11-14 14:47:20 +0200 |
commit | 62b7ddbaac7a3c27959b2c72e1545234f06d5983 (patch) | |
tree | c43957288a7921e5797b954875526d7a54323161 | |
parent | 1799cc26a19cd19acfe7a866561b70e6de632481 (diff) | |
download | git-buildpackage-62b7ddbaac7a3c27959b2c72e1545234f06d5983.tar.gz git-buildpackage-62b7ddbaac7a3c27959b2c72e1545234f06d5983.tar.bz2 git-buildpackage-62b7ddbaac7a3c27959b2c72e1545234f06d5983.zip |
buildpackage_rpm: always run cleaner hook
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-x | gbp/scripts/buildpackage_rpm.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gbp/scripts/buildpackage_rpm.py b/gbp/scripts/buildpackage_rpm.py index 20230abd..5e24416e 100755 --- a/gbp/scripts/buildpackage_rpm.py +++ b/gbp/scripts/buildpackage_rpm.py @@ -548,8 +548,7 @@ def main(argv): try: tree, relative_spec_path = guess_export_params(repo, options) - if not options.export_only: - Command(options.cleaner, shell=True)() + Command(options.cleaner, shell=True)() if not options.ignore_new: (ret, out) = repo.is_clean(options.ignore_untracked) if not ret: |