summaryrefslogtreecommitdiff
path: root/sofort/ccenv
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:58 +0000
commit8da646eba53afc3e38b480b73b693e5e080bd44c (patch)
tree1b7f8cc5ecb72dd0733fd7ce2bf1f2fbd479b7c5 /sofort/ccenv
parent753006bc33026af6dd1cc311baf54ad175e7ff6f (diff)
downloadbfirm-8da646eba53afc3e38b480b73b693e5e080bd44c.tar.bz2
bfirm-8da646eba53afc3e38b480b73b693e5e080bd44c.tar.xz
build system: ccenv: ccenv_set_cc_bits(): further accommodate legacy shells.
Diffstat (limited to 'sofort/ccenv')
-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")