abort.sh: don't fail if there are no matching variables

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 95489f47
......@@ -3,7 +3,7 @@
set -e
# generally interesting: BUILD_* JENKINS_* JOB_* but most is in BUILD_URL, so:
export | grep -E "(BUILD_URL=)"
export | grep -E "(BUILD_URL=)" || :
TMPFILE=$(mktemp)
trap 'rm "$TMPFILE"' EXIT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment