diff options
author | midipix <writeonce@midipix.org> | 2020-08-16 08:51:24 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-08-16 18:04:00 +0000 |
commit | 2963f0a120764a00e5dcbe01e8c6bd737d02c3be (patch) | |
tree | 9859ff49248459d15ce8e8234d1217c4ec8bbf83 /sofort | |
parent | e4659739d5a5b19bf10689cdee06ec059c666ec8 (diff) | |
download | mmglue-2963f0a120764a00e5dcbe01e8c6bd737d02c3be.tar.bz2 mmglue-2963f0a120764a00e5dcbe01e8c6bd737d02c3be.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") |