diff options
author | Timo Teräs <timo.teras@iki.fi> | 2016-07-27 06:49:09 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-07-27 10:04:22 +0300 |
commit | b6e721580dc95b249cf10ca4322666aa472d384e (patch) | |
tree | 766e080a8e6f95e1616bfa07f998c91cf2cdf5aa | |
parent | 34081a17198f96d131a64ea0ee454a2e13967df7 (diff) | |
download | abuild-b6e721580dc95b249cf10ca4322666aa472d384e.tar.gz abuild-b6e721580dc95b249cf10ca4322666aa472d384e.tar.bz2 abuild-b6e721580dc95b249cf10ca4322666aa472d384e.tar.xz abuild-b6e721580dc95b249cf10ca4322666aa472d384e.zip |
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.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |