Skip to content

Commit e9323fb

Browse files
committed
s
1 parent f6fc298 commit e9323fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

selfcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ -z "$CXX" ]; then
1515
fi
1616

1717
cxx_type=$($CXX --version | head -1 | cut -d' ' -f1)
18-
if [ "$cxx_type" = "g++" ] || [ "$cxx_type" = "Ubuntu" ]; then
18+
if [ "$cxx_type" = "g++" ] || [ "$cxx_type" = "Ubuntu" ]; then # on ubuntu 22.04 there is an "Ubuntu" prefix
1919
gcc_ver=$($CXX -dumpversion)
2020
./simplecpp simplecpp.cpp -e -f -std=gnu++11 -D__GNUC__ -D__STDC__ -D__STDC_HOSTED__ -D__CHAR_BIT__=8 -I"/usr/include" -I"/usr/include/linux" -I"/usr/include/c++/$gcc_ver" -I"/usr/include/c++/$gcc_ver/x86_64-pc-linux-gnu" -I"/usr/lib64/gcc/x86_64-pc-linux-gnu/$gcc_ver/include"
2121
ec=$?

0 commit comments

Comments
 (0)