summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorus32015-03-19 09:57:21 +0100
committerHorus32015-03-19 09:57:21 +0100
commitad198cc4030f31ba769bbb544b5fce5d6c1d06ef (patch)
treefe58c367324b3f4085d83be2e03fd60e34ba6972
parent688bc1e52bb01bf44bd7425bf23e6804f84f8de2 (diff)
downloadnginx-build-ad198cc4030f31ba769bbb544b5fce5d6c1d06ef.tar.gz
Fixed typo and small bug with make -j.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d91f9ca..51920bc 100644
--- a/Makefile
+++ b/Makefile
@@ -86,7 +86,7 @@ build:
--add-module=./redis2-nginx-module \
--add-module=./nginx-statsd $(NGX_CONFIGURE)
cd $(BUILD_DIR)/ && \
- make -j $(grep -c processor /proc/cpuinfo)
+ bash -c "make -j $$(grep -c processor /proc/cpuinfo)"
install:
cd $(BUILD_DIR)/ && make install
@@ -118,5 +118,5 @@ help:
@echo "This is a Makefile to automatize compiling nginx from source.\n"
@echo "Run 'make fetch' to fetch the core and addons."
@echo "Run 'make build' to configure and compile nginx. If you want to pass options to ./configure you can do this with 'NGX_CONFIGURE=options... make build' on the commmand line."
- @echo "'make install' will install it system wide (needs root previleges)."
+ @echo "'make install' will install it system wide (needs root privileges)."
@echo "If you are on GNU/Debian, you can run 'make prepare' to install some needed libraries."