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

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

 



Signed-off-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
---
 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

_______________________________________________
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