[Intel-gfx] [PATCH maintainer-tools 1/2] dim: Use -e on warn_or_fail to allow fo newlines

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Thu Apr 28 11:32:19 UTC 2016


Signed-off-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
---
 dim | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dim b/dim
index d9c1be5..dbcb7d9 100755
--- a/dim
+++ b/dim
@@ -118,9 +118,9 @@ HELP=
 function warn_or_fail
 {
 	if [[ $FORCE ]] ; then
-		echo WARNING: $1, but continuing
+		echo -e WARNING: $1, but continuing
 	else
-		echo ERROR: $1, aborting
+		echo -e ERROR: $1, aborting
 		exit 1
 	fi
 }
-- 
2.5.5



More information about the Intel-gfx mailing list