Commit 32708e0d authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Fixed HOME environment variable for git

parent b55e0bdb
...@@ -30,11 +30,11 @@ all: database-config ...@@ -30,11 +30,11 @@ all: database-config
mkdir -p /srv/www/public/uploads mkdir -p /srv/www/public/uploads
chmod 0700 /srv/www/public/uploads chmod 0700 /srv/www/public/uploads
cd /srv/www && mv config/puma.rb.example config/puma.rb cd /srv/www && mv config/puma.rb.example config/puma.rb
HOME="/tmp" && git config --global core.autocrlf input HOME="/tmp" git config --global core.autocrlf input
HOME="/tmp" && git config --global gc.auto 0 HOME="/tmp" git config --global gc.auto 0
HOME="/tmp" && git config --global repack.writeBitmaps true HOME="/tmp" git config --global repack.writeBitmaps true
HOME="/tmp" && git config --global receive.advertisePushOptions true HOME="/tmp" git config --global receive.advertisePushOptions true
HOME="/tmp" && git config --global core.fsyncObjectFiles true HOME="/tmp" git config --global core.fsyncObjectFiles true
cd /srv/www && mv config/resque.yml.example config/resque.yml cd /srv/www && mv config/resque.yml.example config/resque.yml
@echo "$$DATABASE_CONFIG" > /srv/www/config/database.yml @echo "$$DATABASE_CONFIG" > /srv/www/config/database.yml
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment