diff options
author | midipix <writeonce@midipix.org> | 2020-08-16 08:51:24 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-08-16 18:03:59 +0000 |
commit | a783820e33c7afadc5351e27b4165c445a8f9784 (patch) | |
tree | 5364cd89049e9833a5da6c031705ba23f4e7fc8c /sofort | |
parent | 75331263b0224ed00ae1a53e30e34af44225e5cb (diff) | |
download | dalist-a783820e33c7afadc5351e27b4165c445a8f9784.tar.bz2 dalist-a783820e33c7afadc5351e27b4165c445a8f9784.tar.xz |
build system: ccenv: ccenv_set_cc_bits(): further accommodate legacy shells.
Diffstat (limited to 'sofort')
-rw-r--r-- | sofort/ccenv/ccenv.sh | 2 |
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") |