aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-18 08:00:13 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-18 08:00:13 +0200
commit11a966eeb4fcd88e251fb9d77a18d6b67c36dd61 (patch)
tree95a1486b7c04710ec968fe87e08ea7e559b658d8
parent65878aa07452b45c3f17c3ab15508400edd46476 (diff)
downloadnissy-core-11a966eeb4fcd88e251fb9d77a18d6b67c36dd61.tar.gz
nissy-core-11a966eeb4fcd88e251fb9d77a18d6b67c36dd61.zip
Replace which(1) with posix command -v in configure.sh
-rwxr-xr-xconfigure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh
index 06688e8..fcf2dce 100755
--- a/configure.sh
+++ b/configure.sh
@@ -21,7 +21,7 @@ detectarch() {
21} 21}
22 22
23validatecc() { 23validatecc() {
24 if ! (which "$CC" >/dev/null 2>&1) ; then 24 if ! (command -v "$CC" >/dev/null 2>&1) ; then
25 echo "Error: compiler '$CC' not found" 25 echo "Error: compiler '$CC' not found"
26 exit 1 26 exit 1
27 fi 27 fi

Generated with cgit - Back to sebastiano.tronto.net