diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-12-16 01:59:07 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-12-16 01:59:07 -0800 |
commit | f7859ec1ed9061abe467fb9860e9d87514e4b2e1 (patch) | |
tree | bc148b91ab632c177615f70879f3c182df45cf10 /lib | |
parent | ced572c328507e3d327f23e9673ba33584845501 (diff) | |
download | gitlab-ce-f7859ec1ed9061abe467fb9860e9d87514e4b2e1.tar.gz |
rake dev_repo: fixed for ubuntu
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/dev_repo.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tasks/dev_repo.rake b/lib/tasks/dev_repo.rake index 4e5feaa4349..4ae06bb936e 100644 --- a/lib/tasks/dev_repo.rake +++ b/lib/tasks/dev_repo.rake @@ -5,19 +5,19 @@ raise "\n *** Run ./lib/tasks/dev_user.sh first *** \n" if key.empty? Key.create(:user_id => User.first, :key => key, :title => "gitlabdev") puts "\n *** Clone diaspora from github" -`sudo -u gitlabdev -H git clone git://github.com/diaspora/diaspora.git /home/gitlabdev/diaspora` +`sudo -u gitlabdev -H sh -c "cd /home/gitlabdev; git clone git://github.com/diaspora/diaspora.git /home/gitlabdev/diaspora"` puts "\n *** Push diaspora source to gitlab" `sudo -u gitlabdev -H sh -c "cd /home/gitlabdev/diaspora; git remote add local git@localhost:diaspora.git; git push local master; git push local --tags; git checkout -b api origin/api; git push local api; git checkout -b heroku origin/heroku; git push local heroku"` puts "\n *** Clone rails from github" -`sudo -u gitlabdev -H git clone git://github.com/rails/rails.git /home/gitlabdev/rails` +`sudo -u gitlabdev -H sh -c "cd /home/gitlabdev; git clone git://github.com/rails/rails.git /home/gitlabdev/rails"` puts "\n *** Push rails source to gitlab" `sudo -u gitlabdev -H sh -c "cd /home/gitlabdev/rails; git remote add local git@localhost:ruby_on_rails.git; git push local master; git push local --tags"` puts "\n *** Clone rubinius from github" -`sudo -u gitlabdev -H git clone git://github.com/rubinius/rubinius.git /home/gitlabdev/rubinius` +`sudo -u gitlabdev -H sh -c "cd /home/gitlabdev; git clone git://github.com/rubinius/rubinius.git /home/gitlabdev/rubinius"` puts "\n *** Push rubinius source to gitlab" `sudo -u gitlabdev -H sh -c "cd /home/gitlabdev/rubinius; git remote add local git@localhost:rubinius.git; git push local master; git push local --tags"` |