We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a738d6 commit dec1460Copy full SHA for dec1460
1 file changed
selfcheck.sh
@@ -17,7 +17,7 @@ fi
17
$CXX --version
18
cxx_type=$($CXX --version | head -1 | cut -d' ' -f1)
19
if [ "$cxx_type" = "Ubuntu" ]; then
20
- cxx_type=$($CXX --version | head -2 | cut -d' ' -f1)
+ cxx_type=$($CXX --version | head -1 | cut -d' ' -f2)
21
fi
22
echo cxx_type=$cxx_type
23
if [ "$cxx_type" = "g++" ]; then
0 commit comments