summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-07-27 06:49:09 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-07-27 10:04:22 +0300
commitb6e721580dc95b249cf10ca4322666aa472d384e (patch)
tree766e080a8e6f95e1616bfa07f998c91cf2cdf5aa
parent34081a17198f96d131a64ea0ee454a2e13967df7 (diff)
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.
-rw-r--r--abuild.in4
1 files 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