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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Eric Engestrom <eric.engestrom@xxxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux