details: https://hg.nginx.org/njs/rev/ec007866a53b
branches:
changeset: 2076:ec007866a53b
user: Orgad Shaneh <orgad.shaneh@audiocodes.com>
date: Wed Mar 22 15:22:37 2023 +0200
description:
Fix compiler detection when CC has a wrapper.
For example CC='ccache gcc'.
diffstat:
auto/cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8e6a2cb0c23d -r ec007866a53b auto/cc
--- a/auto/cc Wed Mar 22 09:36:58 2023 -0700
+++ b/auto/cc Wed Mar 22 15:22:37 2023 +0200
@@ -13,7 +13,7 @@ END
# Allow error exit status.
set +e
-if [ -z `which $CC` ]; then
+if [ -z "$(which $CC)" ]; then
echo
echo $0: error: $CC not found.
echo
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel