Fix unbound variable when number of JOBS is omitted

This commit is contained in:
Artem Pavlenko 2016-06-23 09:46:45 +01:00 committed by GitHub
parent 3536ad0902
commit 00e5d00530

View file

@ -42,7 +42,7 @@ if [ -d "test/data" ]; then
if [ -d "test/data-visual/styles" ]; then if [ -d "test/data-visual/styles" ]; then
run_substep "Running visual tests..." run_substep "Running visual tests..."
if [ -z "$JOBS" ]; then if [ -z "${JOBS:-}" ]; then
JOBS=1 JOBS=1
fi fi
if [[ -f ./test/visual/run ]]; then if [[ -f ./test/visual/run ]]; then