aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index d1f985e..c9adc9d 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -45,7 +45,7 @@ git pull https://github.com/tootsuite/mastodon.git master
PULLCOMMANDS
# Switch branch to tagged release
-pushd /opt/mastodon/live
+cd /opt/mastodon/live
sudo git checkout $(git tag | tail -n 1)
# Apply Mastodon upgrade