From 1a9e0162f9dabf361a2d2acd4f49891b628b731c Mon Sep 17 00:00:00 2001 From: Jonne Hass Date: Sun, 4 Sep 2011 15:31:42 +0200 Subject: [PATCH] really fix sed --- config/ci/before-travis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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