summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-11 23:35:42 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-11 23:35:42 -0400
commit729f3e8c04b76c43385fa27b42b1934a250b65bd (patch)
tree5e60618ef08e55105a3d45b86c3e2bcee922c9b3 /acprep
parentc77be795cbd32b0ee24bc4886b63b172f15b6d5f (diff)
downloadfork-ledger-729f3e8c04b76c43385fa27b42b1934a250b65bd.tar.gz
fork-ledger-729f3e8c04b76c43385fa27b42b1934a250b65bd.tar.bz2
fork-ledger-729f3e8c04b76c43385fa27b42b1934a250b65bd.zip
Corrected Boost lookup if no suffix exists
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep3
1 files changed, 2 insertions, 1 deletions
diff --git a/acprep b/acprep
index 6999b650..ba2bdf0d 100755
--- a/acprep
+++ b/acprep
@@ -118,7 +118,7 @@ class BoostInfo(object):
if match:
suffix = match.group(1)
self.log.info('Found a Boost suffix => ' + suffix)
- return suffix
+ return [suffix]
else:
self.log.debug('The directory "%s" is not valid, skipping' % path)
return None
@@ -130,6 +130,7 @@ class BoostInfo(object):
self.log.info('Looking for Boost in %s...' % path)
self.suffix = self.find_boost_in_directory(path)
if self.suffix is not None:
+ self.suffix = self.suffix[0]
self.home_path = dirname(path)
self.configured = True
self.inform_boost_details()