aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2021-08-05 00:49:24 +0100
committerTomasz Kramkowski <tk@the-tk.com>2021-08-05 00:49:24 +0100
commit34ef660d50890892970ad7b9e15c9b0bd9d93ebb (patch)
treeafc4b12914b0137837833f42ab91fa5da50aa83e
parentf3f9592b41094bbeaacc95cd3c35cc3e8d0b26c7 (diff)
downloadpack-34ef660d50890892970ad7b9e15c9b0bd9d93ebb.tar.gz
pack-34ef660d50890892970ad7b9e15c9b0bd9d93ebb.tar.xz
pack-34ef660d50890892970ad7b9e15c9b0bd9d93ebb.zip
configure: don't exit 1 when CC is not set
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 2085a38..723de9f 100755
--- a/configure
+++ b/configure
@@ -50,4 +50,4 @@ case "$colour" in
*) usage >&2; exit 1;;
esac
-[[ $CC ]] && conf "CC=${CC@Q}"
+if [[ $CC ]]; then conf "CC=${CC@Q}"; fi