h48

A prototype for an optimal Rubik's cube solver, work in progress.
git clone https://git.tronto.net/h48
Download | Log | Files | Refs | README | LICENSE

commit 11a966eeb4fcd88e251fb9d77a18d6b67c36dd61
parent 65878aa07452b45c3f17c3ab15508400edd46476
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Wed, 18 Sep 2024 08:00:13 +0200

Replace which(1) with posix command -v in configure.sh

Diffstat:
Mconfigure.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.sh b/configure.sh @@ -21,7 +21,7 @@ detectarch() { } validatecc() { - if ! (which "$CC" >/dev/null 2>&1) ; then + if ! (command -v "$CC" >/dev/null 2>&1) ; then echo "Error: compiler '$CC' not found" exit 1 fi