diff options
author | Cem Keylan <cem@ckyln.com> | 2021-07-22 14:17:52 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-07-22 14:17:52 +0300 |
commit | 61297ed5ff35484afba169e3a1374da7c0f3de8e (patch) | |
tree | cbe192db1b1eb5b084186ffec800f74cf41339f0 /configure | |
parent | 71fec5341daf21a10c9daeb5244f767187380b4a (diff) | |
download | otools-61297ed5ff35484afba169e3a1374da7c0f3de8e.tar.gz |
configure: fix shellcheck errors
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ for arg; do --with-system-zlib) zlib=1 ;; --disable-netcat) netcat=0 ;; -*) die "Unknown flag: '$arg'" ;; - *=*) export "$arg";; + *=*) export "${arg:?}";; *) die "Unknown option: '$arg'" esac done @@ -48,7 +48,7 @@ done trap 'rm -f config.mk' EXIT trap 'rm -f config.mk; exit 1' INT -: ${CC:=cc} +: "${CC:=cc}" printf 'checking system type... ' [ "$host" ] || host=$($CC -dumpmachine 2>/dev/null) || die "Could not determine host" |