Commit 7cd7f812

mo khan <mo@mokhan.ca>
2014-10-31 18:23:22
shorten the if clause.
1 parent ba6899f
Changed files (1)
script/bootstrap-vagrant-user.sh
@@ -14,10 +14,10 @@ rbenv rehash
 cd /vagrant
 bundle install -j 4
 rbenv rehash
-if [ ! -f /vagrant/config/database.yml ]; then
+if [ ! -f config/database.yml ]; then
   ln -s config/database.yml.vagrant config/database.yml
 fi
-if [ ! -f /vagrant/.env ]; then
+if [ ! -f .env ]; then
   ln -s .env.example .env
 fi
 bundle exec rake db:create db:migrate db:seed