aboutsummaryrefslogtreecommitdiff
path: root/common/git-clone.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/git-clone.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/git-clone.sh b/common/git-clone.sh
index d502aca..71f503c 100644
--- a/common/git-clone.sh
+++ b/common/git-clone.sh
@@ -1,10 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
-NAME=$1
-URL=$2
+URL=$1
-WORKDIR="/tmp/${NAME}"
+WORKDIR="/tmp/${EVENTLINE_JOB_NAME}"
cleanup() {
rm -rf "${WORKDIR}"