index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-02 23:18:20 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-03 14:55:21 -0500 |
commit | b6252a0b6cd229fa315cecd06478d8bf0476ac1c (patch) | |
tree | 9d35e5c2ac7bea6c19056a2ca0f00523f9056bc0 /lib/common.sh | |
parent | 97214cf1095e457e393350bfd03c9481708e72d8 (diff) |
-rw-r--r-- | lib/common.sh | 4 |
diff --git a/lib/common.sh b/lib/common.sh index a0796bb..d3f4f7c 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -7,10 +7,12 @@ # License: Unspecified [[ -z ${_INCLUDE_COMMON_SH:-} ]] || return 0 -_INCLUDE_COMMON_SH=true +_INCLUDE_COMMON_SH="$(set +o|grep nounset)" +set +u +o posix # shellcheck disable=1091 . /usr/share/makepkg/util.sh +$_INCLUDE_COMMON_SH [[ -n ${TEXTDOMAIN:-} ]] || export TEXTDOMAIN='libretools' [[ -n ${TEXTDOMAINDIR:-} ]] || export TEXTDOMAINDIR='/usr/share/locale' |