diff --git a/config/ci/before-travis.sh b/config/ci/before-travis.sh index e44c498b2..faaea78d2 100755 --- a/config/ci/before-travis.sh +++ b/config/ci/before-travis.sh @@ -22,7 +22,7 @@ bundle exec sass -q --update public/stylesheets/sass/:public/stylesheets/ echo "Setting up database.yml for $DB" cp config/database.yml.example config/database.yml if [ "$DB" = "postgres" ]; then - sed 's/*mysql/*postgres/' config/database.yml > config/database.yml + sed -i 's/*mysql/*postgres/' config/database.yml fi # Set up database