aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/infrastructure/scripts/reconfigure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/infrastructure/scripts/reconfigure.sh b/src/infrastructure/scripts/reconfigure.sh
index c76ea3e..51c7de8 100755
--- a/src/infrastructure/scripts/reconfigure.sh
+++ b/src/infrastructure/scripts/reconfigure.sh
@@ -112,7 +112,7 @@ fi
set -x
sudo -u deployer git clone --depth=1 "file://$REPO" "$NOW_DIR"
sudo -u deployer rm -f /opt/deploy/current
-sudo -u deployer ln -s "$NOW_DIR" /opt/deploy/current
+sudo -u deployer ln -rs "$NOW_DIR" /opt/deploy/current
cd /opt/deploy/current
sudo -u deployer git fetch --depth=1 "file://$REPO" "$SHA"
sudo -u deployer --preserve-env=GIT_CONFIG_GLOBAL git checkout "$SHA"