diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2018-06-20 19:33:49 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2018-06-20 19:33:49 +0300 |
commit | 50d458796180367b9e2e65884abd538f31b774de (patch) | |
tree | 338a2a6e753bd0c222588d9b8a98c7bd3ee5c56d | |
parent | b1d7844449b813f8dde73da4e11b8b2d8233f704 (diff) | |
download | unit-50d458796180367b9e2e65884abd538f31b774de.tar.gz unit-50d458796180367b9e2e65884abd538f31b774de.tar.bz2 |
Using portable grep features.
-rw-r--r-- | auto/make | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -224,7 +224,8 @@ ${NXT_DAEMON}-uninstall: 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. # *.dSYM is MacOSX Clang debug information. |