summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heusel <christian@heusel.eu>2024-02-11 00:32:41 +0100
committerLevente Polyak <anthraxx@archlinux.org>2024-02-14 01:28:34 +0100
commitdb2f82bf19a4eed48a4a315cd308c3c1747d0e73 (patch)
treee93683edfc6783a9514f59bedfc93ea22bef92b1
parente0a84aefc35a4716fa91c13ec1c3909b50fccd5c (diff)
downloaddevtools-db2f82bf19a4eed48a4a315cd308c3c1747d0e73.tar.xz
feat(offload-build): preserve the TERM variable
Signed-off-by: Christian Heusel <christian@heusel.eu>
-rw-r--r--src/offload-build.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/offload-build.in b/src/offload-build.in
index 0c497b9..8992c23 100644
--- a/src/offload-build.in
+++ b/src/offload-build.in
@@ -99,6 +99,7 @@ mapfile -t files < <(
# shellcheck disable=SC2145
cat "$SRCPKGDEST"/*"$SRCEXT" |
ssh $server '
+ export TERM="'"${TERM}"'"
temp="${XDG_CACHE_HOME:-$HOME/.cache}/offload-build" &&
mkdir -p "$temp" &&
temp=$(mktemp -d -p "$temp") &&