From ad198cc4030f31ba769bbb544b5fce5d6c1d06ef Mon Sep 17 00:00:00 2001 From: Horus3 Date: Thu, 19 Mar 2015 09:57:21 +0100 Subject: Fixed typo and small bug with make -j. --- Makefile | 4 ++-- 1 file 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." -- cgit v1.2.3