diff options
-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: |