provisioning, main.sh, variablize the local repo name.
This commit is contained in:
1 parent
a6a8f4c97a
commit
481a0b9744
1 file changed
+5
-3
@@ -1,11 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sh -c "rm -rfv prov-test"
|
||||
REPO_NAME="git-repo"
|
||||
|
||||
sh -c "rm -rfv $LOCAL_REPO_NAME"
|
||||
|
||||
echo "Downloading Repo '$REPO' : Branch '$BRANCH'"
|
||||
git clone $REPO --branch=$BRANCH prov-test
|
||||
git clone $REPO --branch=$BRANCH $LOCAL_REPO_NAME
|
||||
|
||||
cd prov-test
|
||||
cd $LOCAL_REPO_NAME
|
||||
|
||||
echo "Starting Executable Script '$EXEC'"
|
||||
|
||||
|
||||
Reference in new issue
Block a user