Using portable grep features.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user