blob: 1a3a203ae5b10352e7797ad26ccd466c0fe640f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
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
|