summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xacprep8
2 files changed, 7 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 39868f65..eaeeb567 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
*.[oa]
*.backup
*.elc
+*.gcov
*.l[oa]
*.pyc
*~
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')