From 4a5ed121c791f0bdd1f8d1d381f81e62e96ae377 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 16 Aug 2020 08:51:24 +0000 Subject: build system: ccenv: ccenv_set_cc_bits(): further accommodate legacy shells. --- sofort/ccenv/ccenv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sofort/ccenv') 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") -- cgit v1.2.3