Skip to content

Commit dec1460

Browse files
committed
s
1 parent 3a738d6 commit dec1460

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
@@ -17,7 +17,7 @@ fi
1717
$CXX --version
1818
cxx_type=$($CXX --version | head -1 | cut -d' ' -f1)
1919
if [ "$cxx_type" = "Ubuntu" ]; then
20-
cxx_type=$($CXX --version | head -2 | cut -d' ' -f1)
20+
cxx_type=$($CXX --version | head -1 | cut -d' ' -f2)
2121
fi
2222
echo cxx_type=$cxx_type
2323
if [ "$cxx_type" = "g++" ]; then

0 commit comments

Comments
 (0)