summaryrefslogtreecommitdiffhomepage
path: root/auto/make
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-05-21 16:14:24 +0300
committerValentin Bartenev <vbart@nginx.com>2018-05-21 16:14:24 +0300
commit3e8dbfe5ffdfbf525dd115508dc28d15bb81a237 (patch)
tree5f733eeaa090b0e8b14ac3de4d1a306a15628ed6 /auto/make
parent8a156a9fc410eaf8898b757f294d91031e596a11 (diff)
downloadunit-3e8dbfe5ffdfbf525dd115508dc28d15bb81a237.tar.gz
unit-3e8dbfe5ffdfbf525dd115508dc28d15bb81a237.tar.bz2
Added SERVER_SOFTWARE request meta-variable.
Diffstat (limited to 'auto/make')
-rw-r--r--auto/make2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/make b/auto/make
index 477439d9..cdd32e20 100644
--- a/auto/make
+++ b/auto/make
@@ -224,7 +224,7 @@ ${NXT_DAEMON}-uninstall:
END
-nxt_version=`grep NXT_VERSION src/nxt_main.h | sed -e 's/.*"\(.*\)".*/\1/'`
+nxt_version=`grep -m 1 NXT_VERSION src/nxt_main.h | sed -e 's/.*"\(.*\)".*/\1/'`
# Makefile.
# *.dSYM is MacOSX Clang debug information.