diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-02-19 16:29:43 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-02-19 16:29:43 -0500 |
commit | 64a5849178787af70a2ac1b583d5f2a6b72d983b (patch) | |
tree | 36bd4a358a4a45a49f044cfbdd1b3840a9e61d0f /lib | |
parent | d0a8e61719b35f3f7d25a515bafc11729e41a41c (diff) | |
download | devtools32-64a5849178787af70a2ac1b583d5f2a6b72d983b.tar.xz |
lib/common.sh: simplify include-guard
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/common.sh b/lib/common.sh index bb46f6c..9ea9681 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -6,9 +6,7 @@ # License: Unspecified -shopt -s extglob - -if [[ -z ${_INCLUDE_COMMON_SH:-} ]]; then +[[ -z ${_INCLUDE_COMMON_SH:-} ]] || return 0 _INCLUDE_COMMON_SH=true [[ -n ${TEXTDOMAIN:-} ]] || export TEXTDOMAIN='libretools' @@ -295,5 +293,3 @@ check_root() { exec su root -c "$(printf ' %q' "$@")" fi } - -fi |