This fixes `make check` when dim is not configured.

Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index 588e859..b373901 100755
--- a/dim
+++ b/dim
@@ -197,7 +197,7 @@ export __dim_running=1
 if [ "$subcommand" != "setup" ] && [ "$subcommand" != "help" ] && [ 
"$subcommand" != "usage" ]; then
        for d in $DIM_PREFIX $DIM_PREFIX/$DIM_DRM_INTEL $DIM_PREFIX/drm-rerere 
$DIM_PREFIX/drm-tip; do
                if [ ! -d $d ]; then
-                       echo "$d is missing, please check your configuration 
and/or run dim setup"
+                       echoerr "$d is missing, please check your configuration 
and/or run dim setup"
                        exit 1
                fi
        done
-- 
Cheers,
  Eric

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to