Merge pull request #629 from abevoelker/patch-1
Fix gl-setup PATH warning when executing gl-system-install.
This commit is contained in:
commit
a8768ffb9d
|
@ -107,7 +107,8 @@ Get gitolite source code:
|
||||||
|
|
||||||
Setup:
|
Setup:
|
||||||
|
|
||||||
sudo -u git -H /home/git/gitolite/src/gl-system-install
|
sudo -u git sh -c 'echo "PATH=\$PATH:/home/git/bin\nexport PATH" > /home/git/.profile'
|
||||||
|
sudo -u git -i -H /home/git/gitolite/src/gl-system-install
|
||||||
sudo cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub
|
sudo cp /home/gitlab/.ssh/id_rsa.pub /home/git/gitlab.pub
|
||||||
sudo chmod 777 /home/git/gitlab.pub
|
sudo chmod 777 /home/git/gitlab.pub
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue