diff options
author | midipix <writeonce@midipix.org> | 2020-08-16 08:51:24 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-08-16 18:04:01 +0000 |
commit | e0e6517801d2a578041d8c3f3080c73b1e27244b (patch) | |
tree | 13bba1f92f29932c464f81e3071d81cb1e793086 | |
parent | d2023a3c7b9c8c6aee3531928187afca6efe7b4a (diff) | |
download | ntcon-e0e6517801d2a578041d8c3f3080c73b1e27244b.tar.bz2 ntcon-e0e6517801d2a578041d8c3f3080c73b1e27244b.tar.xz |
build system: ccenv: ccenv_set_cc_bits(): further accommodate legacy shells.
-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") |