Don't invoke echo for stdin, read from /dev/null. OS X was intermittently hanging prior.
This commit is contained in:
committed by
sftnight
parent
8fc1289cd4
commit
d7bc590e03
@ -492,7 +492,7 @@ namespace {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const char *CppInclQuery =
|
static const char *CppInclQuery =
|
||||||
"echo | LC_ALL=C " LLVM_CXX " -xc++ -E -v - 2>&1 >/dev/null "
|
"LC_ALL=C " LLVM_CXX " -xc++ -E -v /dev/null 2>&1 >/dev/null"
|
||||||
"| awk '/^#include </,/^End of search"
|
"| awk '/^#include </,/^End of search"
|
||||||
"/{if (!/^#include </ && !/^End of search/){ print }}' "
|
"/{if (!/^#include </ && !/^End of search/){ print }}' "
|
||||||
"| GREP_OPTIONS= grep -E \"(c|g)\\+\\+\"";
|
"| GREP_OPTIONS= grep -E \"(c|g)\\+\\+\"";
|
||||||
|
Reference in New Issue
Block a user