We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9347a72 commit f187580Copy full SHA for f187580
1 file changed
selfcheck.sh
@@ -30,8 +30,7 @@ elif [ "$cxx_type" = "clang" ]; then
30
clang_ver=${clang_ver%%.*}
31
find /usr/include -name cctype
32
cxx_inc="/usr/include/c++/v1"
33
- if [ -d "$cxx_inc" ]; then
34
- else
+ if [ ! -d "$cxx_inc" ]; then
35
cxx_inc="/usr/lib/llvm-$clang_ver/include/c++/v1"
36
fi
37
./simplecpp simplecpp.cpp -e -f -std=gnu++11 -D__BYTE_ORDER__ -D__linux__ -I"$cxx_inc"
0 commit comments