diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-03 13:31:13 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-03 13:31:13 -0400 |
commit | 069552a81dfe0fe621bb5eed361ecfe1cccacc95 (patch) | |
tree | 853dae21c1c63778d4e4a7f492105669bd541e31 /acprep | |
parent | 43c4636d9d3a8a3bebc6565b2f1fdd1aebe9849a (diff) | |
download | fork-ledger-069552a81dfe0fe621bb5eed361ecfe1cccacc95.tar.gz fork-ledger-069552a81dfe0fe621bb5eed361ecfe1cccacc95.tar.bz2 fork-ledger-069552a81dfe0fe621bb5eed361ecfe1cccacc95.zip |
Fixed the auto-discovery of the Boost suffix in acprep.
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -33,9 +33,11 @@ for lib in $(ls -1 /opt/local/lib/libboost_regex*.a \ | sort -r) do lib=$(basename "$lib") - BOOST_SUFFIX=$(echo "$lib" | sed 's/libboost_regex-//' | sed 's/\.a//') - echo "Discovered Boost suffix: --boost $BOOST_SUFFIX" - BOOST_SUFFIX="-$BOOST_SUFFIX" + suffix=$(echo "$lib" | sed 's/libboost_regex-//' | sed 's/\.a//') + if [[ "$suffix" != "libboost_regex" ]]; then + echo "Discovered Boost suffix: --boost $suffix" + BOOST_SUFFIX="-$suffix" + fi break done |