Using portable grep features.

This commit is contained in:
Sergey Kandaurov
2018-06-20 19:33:49 +03:00
parent b1d7844449
commit 50d4587961

View File

@@ -224,7 +224,8 @@ ${NXT_DAEMON}-uninstall:
END END
nxt_version=`grep -m 1 NXT_VERSION src/nxt_main.h | sed -e 's/.*"\(.*\)".*/\1/'` nxt_version=`grep 'define NXT_VERSION' src/nxt_main.h \
| sed -e 's/.*"\(.*\)".*/\1/'`
# Makefile. # Makefile.
# *.dSYM is MacOSX Clang debug information. # *.dSYM is MacOSX Clang debug information.