You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.0 KiB
33 lines
1.0 KiB
From ce2ca92af5f215e9c3fa262ea40de0c1d2ff71a3 Mon Sep 17 00:00:00 2001
|
|
From: Christopher Byrne <salah.coronya@gmail.com>
|
|
Date: Fri, 3 May 2024 10:30:34 -0500
|
|
Subject: [PATCH] int-log-compiler-common.sh: Remove dependency on which
|
|
|
|
Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
|
|
---
|
|
script/int-log-compiler-common.sh | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/script/int-log-compiler-common.sh b/script/int-log-compiler-common.sh
|
|
index 5d0b3b95..5dddd77a 100755
|
|
--- a/script/int-log-compiler-common.sh
|
|
+++ b/script/int-log-compiler-common.sh
|
|
@@ -55,12 +55,12 @@ sanity_test ()
|
|
exit 1
|
|
fi
|
|
|
|
- if [ -z "$(which ${sock_tool})" ]; then
|
|
+ if [ -z "$(command -v ${sock_tool})" ]; then
|
|
echo "ss not on PATH; exiting"
|
|
exit 1
|
|
fi
|
|
|
|
- if [[ ! -z ${simulator_bin} && -z "$(which ${simulator_bin})" ]]; then
|
|
+ if [[ ! -z ${simulator_bin} && -z "$(command -v ${simulator_bin})" ]]; then
|
|
echo "${simulator_bin} not on PATH; exiting"
|
|
exit 1
|
|
fi
|
|
--
|
|
2.43.2
|
|
|