Skip to content

Commit f187580

Browse files
committed
s
1 parent 9347a72 commit f187580

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

selfcheck.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ elif [ "$cxx_type" = "clang" ]; then
3030
clang_ver=${clang_ver%%.*}
3131
find /usr/include -name cctype
3232
cxx_inc="/usr/include/c++/v1"
33-
if [ -d "$cxx_inc" ]; then
34-
else
33+
if [ ! -d "$cxx_inc" ]; then
3534
cxx_inc="/usr/lib/llvm-$clang_ver/include/c++/v1"
3635
fi
3736
./simplecpp simplecpp.cpp -e -f -std=gnu++11 -D__BYTE_ORDER__ -D__linux__ -I"$cxx_inc"

0 commit comments

Comments
 (0)