From 87aed8d4b93fa037f2cd55b9f6f342f40cc015f9 Mon Sep 17 00:00:00 2001 From: David Greaves <david@dgreaves.com> Date: Wed, 24 Apr 2013 18:28:08 +0100 Subject: [PATCH] Make absolutely sure we're in the right place when executing commands that depend on CWD Signed-off-by: David Greaves <david.greaves@jollamobile.com> --- doc/update/5.0-to-5.1.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/update/5.0-to-5.1.md b/doc/update/5.0-to-5.1.md index d3abe462971..5e10bf16699 100644 --- a/doc/update/5.0-to-5.1.md +++ b/doc/update/5.0-to-5.1.md @@ -10,7 +10,7 @@ ### 2. get latest code ``` - +cd /home/git/gitlab sudo -u git -H git fetch sudo -u git -H git checkout 5-1-stable @@ -27,6 +27,7 @@ sudo -u git -H git checkout v1.3.0 ### 4. Install libs, migrations etc ``` +cd /home/git/gitlab sudo rm tmp/sockets/gitlab.socket sudo -u git -H cp config/puma.rb.example config/puma.rb -- GitLab