summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-08-16 08:51:24 +0000
committermidipix <writeonce@midipix.org>2020-08-16 18:04:04 +0000
commitd77248edb246999c616bc7b28ad33f3106746052 (patch)
tree3e02c336529f00e7081efa7a1fc95b9c019a670d
parent1a35f5b602cae2a74297c789c33f765335cd643e (diff)
downloadsbpython2-d77248edb246999c616bc7b28ad33f3106746052.tar.bz2
sbpython2-d77248edb246999c616bc7b28ad33f3106746052.tar.xz
build system: ccenv: ccenv_set_cc_bits(): further accommodate legacy shells.
-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")