hooks: do not require MMDEBSTRAP_VERBOSITY to be set

This allows running the hook from older mmdebstrap versions.
This commit is contained in:
Johannes Schauer Marin Rodrigues 2022-10-16 15:20:59 +02:00
parent fc5b60e038
commit 3a17a91b3c
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1
10 changed files with 10 additions and 10 deletions

View file

@ -2,7 +2,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi

View file

@ -2,7 +2,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi

View file

@ -2,7 +2,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi

View file

@ -2,7 +2,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi

View file

@ -2,7 +2,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi

View file

@ -2,7 +2,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi

View file

@ -2,7 +2,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi

View file

@ -41,7 +41,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi

View file

@ -2,7 +2,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi

View file

@ -11,7 +11,7 @@
set -eu
if [ "$MMDEBSTRAP_VERBOSITY" -ge 3 ]; then
if [ "${MMDEBSTRAP_VERBOSITY:-1}" -ge 3 ]; then
set -x
fi