[packages/rpm-build-tools] builder: xtitle check stderr, so it would work in capture blocks too

glen glen at pld-linux.org
Sun Nov 1 20:15:21 CET 2015


commit 6c40c5a2249732089f5bb9646ff52112c766384a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 1 21:12:38 2015 +0200

    builder: xtitle check stderr, so it would work in capture blocks too

 builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/builder.sh b/builder.sh
index df16b00..840a369 100755
--- a/builder.sh
+++ b/builder.sh
@@ -554,7 +554,7 @@ depspecname() {
 }
 
 update_shell_title() {
-	[ -t 1 ] || return
+	[ -t 2 ] || return
 	local len=${COLUMNS:-80}
 	local msg="$(echo "$*" | cut -c-$len)"
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/6c40c5a2249732089f5bb9646ff52112c766384a



More information about the pld-cvs-commit mailing list