gitlabhq/gitlabhq — pull request #2080 by sriharshav (2012-11-26 19:09:41+00:00)
Title: echo -e option adds -e to .profile in ubuntu

`sh -c 'echo -e "PATH=\$PATH:/home/git/bin\nexport PATH" >> /home/git/.profile'`

adds

-e PATH=...

to .profile instead of PATH=

This fails gitolite installation due to invalid path.