From e3e4ee08e5af3e5b21e8a85362e95f8871dd4a9a Mon Sep 17 00:00:00 2001 From: nemsia Date: Sun, 30 Apr 2017 14:07:59 +0200 Subject: [PATCH] [fix] Change pushd to cd on upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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