aboutsummaryrefslogtreecommitdiff
path: root/common/clean.sh
diff options
context:
space:
mode:
authorJulien Dessaux2022-09-14 00:04:30 +0200
committerJulien Dessaux2022-09-14 00:04:30 +0200
commit4bf865ba1b7cbfb32340d0f956ac0bcb29e60d40 (patch)
tree63b396347c10e805b7e6adfb3cae8c3e3c1c0509 /common/clean.sh
parentAdded a buildah login step to the www-build job (diff)
downloadev-scripts-4bf865ba1b7cbfb32340d0f956ac0bcb29e60d40.tar.gz
ev-scripts-4bf865ba1b7cbfb32340d0f956ac0bcb29e60d40.tar.bz2
ev-scripts-4bf865ba1b7cbfb32340d0f956ac0bcb29e60d40.zip
Use the EVENTLINE_JOB_NAME environment variable instead of reinventing the wheel
Diffstat (limited to 'common/clean.sh')
-rw-r--r--common/clean.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/clean.sh b/common/clean.sh
index 1ce9e66..207bd78 100644
--- a/common/clean.sh
+++ b/common/clean.sh
@@ -1,6 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
-NAME=$1
-
-rm -rf "/tmp/${NAME}"
+rm -rf "/tmp/${EVENTLINE_JOB_NAME}"