aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-04-30 14:07:59 +0200
committerGitHub <noreply@github.com>2017-04-30 14:07:59 +0200
commite3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a (patch)
tree5ec5f722602ce1ef1220fd7e07a20150cc7cea9c /scripts
parent4aa9a1d170740b46e8b60b89dc75afd69f0ce414 (diff)
downloadmastodon_ynh-e3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a.tar.gz
mastodon_ynh-e3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a.tar.bz2
mastodon_ynh-e3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a.zip
[fix] Change pushd to cd on upgrade
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