Skip to content

Commit ddabdeb

Browse files
committed
s
1 parent 572d6dc commit ddabdeb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

selfcheck.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ elif [ "$cxx_type" = "Apple" ]; then
9292
inc=
9393
while read line
9494
do
95+
echo $line
9596
inc="$inc -I$line"
96-
done <<< "$($CXX -x c++ -v -c -S - 2>&1 < /dev/null | grep -e'^ [/A-Z]' | grep -v '(framework directory)')"
97+
done <<< "$($CXX -x c++ -v -c -S - 2>&1 < /dev/null | grep -e'^ [/A-Z]' | cut -d' ' -f1)"
98+
echo $inc
9799
else
98100
echo "unknown compiler '$cxx_type'"
99101
exit 1

0 commit comments

Comments
 (0)