summaryrefslogtreecommitdiff
path: root/experiment/scripts/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'experiment/scripts/setup.sh')
-rw-r--r--experiment/scripts/setup.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/experiment/scripts/setup.sh b/experiment/scripts/setup.sh
index 762baf5..724b9e9 100644
--- a/experiment/scripts/setup.sh
+++ b/experiment/scripts/setup.sh
@@ -129,7 +129,12 @@ function setup_environment() {
# Setup shared configurations such as the ones from configs/*
function setup_config() {
# Temporarily checkout to the feature branch
- cd "${G5K_HOME}" && git checkout "${G5K_COMMIT_SHA}" && git pull && cd
+ cd "${G5K_HOME}"
+
+ git pull
+ git checkout "${G5K_COMMIT_SHA}"
+
+ cd
# Remove default nginx config
rm /etc/nginx/sites-enabled/default > /dev/null 2>&1 || true