[PATCH maintainer-tools 2/3] dim: send 'not configured' error to stderr

Eric Engestrom eric.engestrom at imgtec.com
Wed Apr 5 11:15:24 UTC 2017


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

Signed-off-by: Eric Engestrom <eric.engestrom at 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



More information about the dri-devel mailing list