We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f7891e commit b6c1d21Copy full SHA for b6c1d21
commands/.settings
@@ -1,21 +1,25 @@
1
#!/bin/bash -e
2
3
-if [ "$XTRACE" = 1 ]; then
+set -o pipefail
4
+
5
+TRACE="${TRACE:-0}"
6
7
+if [ "${XTRACE:-$TRACE}" = 1 ]; then
8
set -x
9
fi
10
-set -o pipefail
-
11
export CPPSM="${BASH_SOURCE%/*/*}"
12
-if [ -z "$NUMBER_OF_PROCESSORS" ]; then
- NUMBER_OF_PROCESSORS=$(getconf _NPROCESSORS_ONLN || echo 2)
13
-fi
+QUIET="${QUIET:-1}"
14
15
-if [ "$GIT_QUIET" = 0 ]; then
+if [ "${GIT_QUIET:-$QUIET}" = 0 ]; then
16
GIT_QUIET=()
17
else
18
GIT_QUIET=(--quiet)
19
20
21
+if [ -z "$NUMBER_OF_PROCESSORS" ]; then
22
+ NUMBER_OF_PROCESSORS=$(getconf _NPROCESSORS_ONLN || echo 2)
23
+fi
24
25
N_PARALLEL_UPDATE="${N_PARALLEL_UPDATE:-$NUMBER_OF_PROCESSORS}"
0 commit comments