SPECS: builder - timeline gets printed only if you ask for it with -v

glen glen at pld-linux.org
Wed Jan 18 23:22:59 CET 2006


Author: glen                         Date: Wed Jan 18 22:22:59 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- timeline gets printed only if you ask for it with -v

---- Files affected:
SPECS:
   builder (1.392 -> 1.393) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.392 SPECS/builder:1.393
--- SPECS/builder:1.392	Wed Jan 18 18:01:29 2006
+++ SPECS/builder	Wed Jan 18 23:22:54 2006
@@ -298,7 +298,10 @@
 	local len=${COLUMNS:-80}
 	local msg=$(echo "$*" | cut -c-$len)
 
-	echo >&2 "$(date +%s.%N) $*"
+	if [ -n "$BE_VERBOSE" ]; then
+		echo >&2 "$(date +%s.%N) $*"
+	fi
+
 	msg="builder[$SPECFILE] ${SHELL_TITLE_PREFIX:+$SHELL_TITLE_PREFIX }$msg"
 	case "$TERM" in
 		cygwin|xterm*)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/builder?r1=1.392&r2=1.393&f=u



More information about the pld-cvs-commit mailing list