allow running the jobs by hand
Costa Tsaousis (ktsaou) committed
Mar 28, 2017 at 03:10 UTC
5e826df434104caaaf0ac5e59567890e128fb1e9
1 file changed
+3
-3
makeself/functions.sh
+3
-3
@@ -1,8 +1,5 @@
1
#!/usr/bin/env bash
2
3
-# bash strict mode
4
-set -euo pipefail
5
-
3
# -----------------------------------------------------------------------------
4
5
# allow running the jobs by hand
@@ -12,6 +9,9 @@ set -euo pipefail
9
[ -z "${PROCESSORS}" ] && export PROCESSORS=$(cat /proc/cpuinfo 2>/dev/null | grep ^processor | wc -l)
10
[ -z "${PROCESSORS}" -o $((PROCESSORS)) -lt 1 ] && export PROCESSORS=1
11
12
+# bash strict mode
13
+set -euo pipefail
14
+
15
# -----------------------------------------------------------------------------
16
17
fetch() {