summaryrefslogtreecommitdiff
path: root/src/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/common.sh')
-rw-r--r--src/lib/common.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/common.sh b/src/lib/common.sh
index 9d5622e..63f43f1 100644
--- a/src/lib/common.sh
+++ b/src/lib/common.sh
@@ -13,7 +13,7 @@ set +u +o posix
$DEVTOOLS_INCLUDE_COMMON_SH
# Avoid any encoding problems
-export LANG=C
+export LANG=C.UTF-8
# Set buildtool properties
export BUILDTOOL=devtools
@@ -108,6 +108,7 @@ cleanup() {
if [[ -n ${WORKDIR:-} ]] && $_setup_workdir; then
rm -rf "$WORKDIR"
fi
+ tput cnorm >&2
exit "${1:-0}"
}