mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-25 04:26:08 +10:00
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>
This commit is contained in:
committed by
David Greaves
parent
74ef297a1e
commit
87aed8d4b9
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user