Unify color of debug message in gbs, gbp and depanneur.
authorHuang Hao <hao.h.huang@intel.com>
Fri, 12 Oct 2012 10:35:59 +0000 (18:35 +0800)
committerHuang Hao <hao.h.huang@intel.com>
Fri, 12 Oct 2012 10:35:59 +0000 (18:35 +0800)
Fix #450.

Change-Id: Ic51970c7b656e843154f3310b31094129a4edb5c

depanneur

index fc78b3a4e8c695df79b2527109179f9afbd7efd7..2fce14ae0e27c32f3a50c8c11a2551918a7a8407 100755 (executable)
--- a/depanneur
+++ b/depanneur
@@ -212,7 +212,7 @@ Available options:
 sub debug {
     my $msg = shift;
     $msg =~ s#://[^@]*@#://#g;
-    print YELLOW, "debug: $msg\n", RESET if $debug == 1;
+    print MAGENTA, "debug: ", RESET, "$msg\n" if $debug == 1;
 }
 
 sub info {