We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65de89c commit 1bf2e85Copy full SHA for 1bf2e85
toolchains/g++/detect.sh
@@ -1,6 +1,6 @@
1
#!/usr/bin/env bash
2
3
-gpp_path=$( which g++ )
+gpp_path=$( command -v g++ )
4
if [[ -z "$gpp_path" ]]; then
5
echo "g++ not found";
6
exit 1;
0 commit comments