summaryrefslogtreecommitdiff
path: root/sofort
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-08-16 08:51:24 +0000
committermidipix <writeonce@midipix.org>2020-08-16 18:03:57 +0000
commitd04d839f7a568f100f1996904b81c4104f86b18d (patch)
treec4a1beef1c70c3b2e78cfde4bfe70275d4b12d4b /sofort
parente3078609a89625acd3a80c7a4ca296dcc2bf849e (diff)
downloadbautomake-d04d839f7a568f100f1996904b81c4104f86b18d.tar.bz2
bautomake-d04d839f7a568f100f1996904b81c4104f86b18d.tar.xz
build system: ccenv: ccenv_set_cc_bits(): further accommodate legacy shells.
Diffstat (limited to 'sofort')
-rw-r--r--sofort/ccenv/ccenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index 52ad423..1215334 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -640,7 +640,7 @@ ccenv_set_cc_bits()
ccenv_internal_test='char x[(sizeof(%s) == %s/8) ? 1 : -1];'
for ccenv_internal_guess in 64 32 128; do
- if [ -z $ccenv_internal_size ]; then
+ if [ -z "${ccenv_internal_size:-}" ]; then
ccenv_internal_str=$(printf "$ccenv_internal_test" \
"$ccenv_internal_type" \
"$ccenv_internal_guess")