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 1a1a89c..d502aca 100644
--- a/common/git-clone.sh
+++ b/common/git-clone.sh
@@ -1,9 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
-# Input environment:
-# - NAME: a name for the script/tasks
-# - URL: the url of the repository to clone
+NAME=$1
+URL=$2
WORKDIR="/tmp/${NAME}"