[PATCH] dim: s/which/command -v/
Daniel Vetter
daniel.vetter at ffwll.ch
Fri Sep 11 09:13:16 UTC 2020
gitlab builder fails
Also I think it's high time we switch over to gitlab pull requests to
stop stuff like this, because locally make check was all fine.
Cc: Jani Nikula <jani.nikula at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
---
dim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dim b/dim
index f6b3a6cc21e4..c3a048db8956 100755
--- a/dim
+++ b/dim
@@ -76,7 +76,7 @@ dim=$(basename $0)
dim_today=$(date +%Y-%m-%d)
dim_timestamp="$(date --utc +%Yy-%mm-%dd-%Hh-%Mm-%Ss) UTC"
-dim_python=$(which python || which python3)
+dim_python=$(command -v python || command -v python3)
dim_fdo_cookie="--push-option fdo.pushedWithDim=this-was-pushed-with-dim-and-not-manually"
--
2.28.0
More information about the dim-tools
mailing list