summaryrefslogtreecommitdiffhomepage
path: root/auto/make
diff options
context:
space:
mode:
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.