summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep13
1 files changed, 11 insertions, 2 deletions
diff --git a/acprep b/acprep
index a6efb2a7..0d7f3cd0 100755
--- a/acprep
+++ b/acprep
@@ -1673,8 +1673,17 @@ class PrepareBuild(CommandLineApp):
def phase_rsync(self, *args):
self.log.info('Executing phase: rsync')
- source_copy_dir = join(self.ensure(self.products_directory()),
- 'ledger-proof')
+ proof_dir = 'ledger-proof'
+
+ if self.options.python:
+ proof_dir += "-python"
+
+ if self.options.gcc47:
+ proof_dir += "-gcc47"
+ elif self.options.use_clang:
+ proof_dir += "-clang"
+
+ source_copy_dir = join(self.ensure(self.products_directory()), proof_dir)
self.execute('rsync', '-a', '--delete',
'--exclude=.git/', '--exclude=b/',