diff options
author | midipix <writeonce@midipix.org> | 2020-08-16 08:51:24 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-08-16 18:04:05 +0000 |
commit | 24912d595f1f9f3aa0c85ef5dfe9e4d45a6c2f63 (patch) | |
tree | 3fce6d7535ffef745c939e02544760aafdc416ab /sofort | |
parent | b176ca294a4f329d952a90681603c488e4055f98 (diff) | |
download | slibtool-24912d595f1f9f3aa0c85ef5dfe9e4d45a6c2f63.tar.bz2 slibtool-24912d595f1f9f3aa0c85ef5dfe9e4d45a6c2f63.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") |