diff --git a/configure b/configure index 9274924c..c82c20c9 100755 --- a/configure +++ b/configure @@ -587,7 +587,7 @@ public: QString shortname() const { return "boost"; } bool checkBoostVersion() { QProcess process; - process.start("bash", QStringList() << "-c" << "grep \\"BOOST_LIB_VERSION\\" \$(find /usr/local/Cellar/boost/ /usr/include /usr/local/include -name 'version.hpp' 2> /dev/null | grep 'boost/version.hpp') | grep -v \\"//\\" | cut -d '\\"' -f2 | sed 's/_/./g'"); + process.start("bash", QStringList() << "-c" << "grep \\"BOOST_LIB_VERSION\\" \$(find /usr/include -name 'version.hpp' 2> /dev/null | grep 'boost/version.hpp') | grep -v \\"//\\" | cut -d '\\"' -f2 | sed 's/_/./g'"); process.waitForFinished(); QString output(process.readAllStandardOutput()); output = output.trimmed(); diff --git a/qcm/boost.qcm b/qcm/boost.qcm index f1dd11c6..0c50be48 100644 --- a/qcm/boost.qcm +++ b/qcm/boost.qcm @@ -14,7 +14,7 @@ public: QString shortname() const { return "boost"; } bool checkBoostVersion() { QProcess process; - process.start("bash", QStringList() << "-c" << "grep \"BOOST_LIB_VERSION\" $(find /usr/local/Cellar/boost/ /usr/include /usr/local/include -name 'version.hpp' 2> /dev/null | grep 'boost/version.hpp') | grep -v \"//\" | cut -d '\"' -f2 | sed 's/_/./g'"); + process.start("bash", QStringList() << "-c" << "grep \"BOOST_LIB_VERSION\" $(find /usr/include -name 'version.hpp' 2> /dev/null | grep 'boost/version.hpp') | grep -v \"//\" | cut -d '\"' -f2 | sed 's/_/./g'"); process.waitForFinished(); QString output(process.readAllStandardOutput()); output = output.trimmed();