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

 



The color codes mess up less and log files.

Signed-off-by: Mikko Rapeli <mikko.rapeli@xxxxxx>
---
 configure.sh |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/configure.sh b/configure.sh
index 3b3823f..d7f16cb 100755
--- a/configure.sh
+++ b/configure.sh
@@ -2,9 +2,11 @@
 
 DEVEL=0
 
-RED=""
-GREEN=""
-COL_RESET=""
+if [ -t 1 ]; then
+	RED=""
+	GREEN=""
+	COL_RESET=""
+fi
 
 MISSING_DEFS=0
 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux