From b6e721580dc95b249cf10ca4322666aa472d384e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Wed, 27 Jul 2016 06:49:09 +0000 Subject: [PATCH] abuild: don't set and reset xterm title when splitting subpkg it's annoying flickering, and results the title being unset for the time when last split is executed and packages are created. --- abuild.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/abuild.in b/abuild.in index ee36517..b0a512e 100644 --- a/abuild.in +++ b/abuild.in @@ -68,7 +68,7 @@ cross_compiling() { cleanup() { local i= - set_xterm_title "" + [ -z "$subpkgdir" ] && set_xterm_title "" if [ -n "$CLEANUP_FILES" ]; then rm -f $CLEANUP_FILES fi @@ -2271,7 +2271,7 @@ pkgdir="$pkgbasedir/$pkgname" controldir="$pkgbasedir"/.control.${subpkgname:-$pkgname} trap 'die "Aborted by user"' INT -set_xterm_title "abuild: $pkgname" +[ -z "$subpkgdir" ] && set_xterm_title "abuild: $pkgname" if [ -z "$1" ]; then set all