summaryrefslogtreecommitdiff
path: root/scripts/docker/files/start-trial-test.sh
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-06-10 14:40:51 -0300
committerdrebs <drebs@leap.se>2016-06-22 17:51:17 -0300
commit449aaefa3a95df6f5700b645d6113458f7fde015 (patch)
tree36881567d0258c3ec9e49dfaec2c1e329badd360 /scripts/docker/files/start-trial-test.sh
parent058fe53b02e73316359784abc57fb8d570da943b (diff)
[test] improve repo config and checkout on docker scripts
Diffstat (limited to 'scripts/docker/files/start-trial-test.sh')
-rwxr-xr-xscripts/docker/files/start-trial-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/docker/files/start-trial-test.sh b/scripts/docker/files/start-trial-test.sh
index 15638b65..ad139288 100755
--- a/scripts/docker/files/start-trial-test.sh
+++ b/scripts/docker/files/start-trial-test.sh
@@ -9,8 +9,8 @@ CMD="/usr/local/soledad/test-env.py"
REPO="/var/local/soledad"
if [ ! -z "${SOLEDAD_REMOTE}" ]; then
- git -C ${REPO} remote add test ${SOLEDAD_REMOTE}
- git -C ${REPO} fetch test
+ git -C ${REPO} remote set-url origin ${SOLEDAD_REMOTE}
+ git -C ${REPO} fetch origin
fi
if [ ! -z "${SOLEDAD_BRANCH}" ]; then