summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep8
1 files changed, 6 insertions, 2 deletions
diff --git a/acprep b/acprep
index e7d8b6d4..7ddc0360 100755
--- a/acprep
+++ b/acprep
@@ -925,8 +925,12 @@ class PrepareBuild(CommandLineApp):
'lcov',
'sloccount'
] + self.boost_info.dependencies('ubuntu-oeneric')
- self.log.info('Executing: ' + string.join(packages, ' '))
- self.execute(*packages)
+ else:
+ self.log.info('I do not recognize your version of Ubuntu!')
+ packages = None
+ if packages:
+ self.log.info('Executing: ' + string.join(packages, ' '))
+ self.execute(*packages)
if exists('/etc/redhat-release'):
release = open('/etc/redhat-release')