diff options
-rwxr-xr-x | .travis.sh | 6 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | setup.sh | 6 |
3 files changed, 9 insertions, 5 deletions
@@ -1,8 +1,8 @@ -#!/bin/bash +#!/bin/sh -set -e +set -e -x -MAKEOPTS="-j$(nproc)" +MAKEOPTS="-j`nproc`" case "$1" in before_install) @@ -23,7 +23,7 @@ endif DUMP ?= www/dump -all: .modules video audio images js +all: modules video audio images js # === GIT SUBMODULES === modules: @@ -1,6 +1,10 @@ #!/bin/sh -set -e +if [ -z $MAKEOPTS ]; then + MAKEOPTS="-j`nproc`" +fi + +set -e -x cd $(dirname $0) |