summaryrefslogtreecommitdiffhomepage
path: root/auto/options
diff options
context:
space:
mode:
Diffstat (limited to 'auto/options')
-rw-r--r--auto/options4
1 files changed, 1 insertions, 3 deletions
diff --git a/auto/options b/auto/options
index 834ca010e..30ec352fa 100644
--- a/auto/options
+++ b/auto/options
@@ -209,9 +209,7 @@ if [ ".$NGX_PLATFORM" = ".win32" ]; then
fi
-if test -z "$NGX_PREFIX"; then
- NGX_PREFIX=/usr/local/nginx
-fi
+NGX_PREFIX=${NGX_PREFIX:-/usr/local/nginx}
case ".$NGX_SBIN_PATH" in