[PATCH] dim: s/which/command -v/
Jani Nikula
jani.nikula at intel.com
Fri Sep 11 12:42:07 UTC 2020
On Fri, 11 Sep 2020, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> 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>
Ack, whatever works...
> ---
> 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"
--
Jani Nikula, Intel Open Source Graphics Center
More information about the dim-tools
mailing list