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 <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
---
 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

_______________________________________________
dim-tools mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dim-tools

Reply via email to