fix sed in before-travis.sh

This commit is contained in:
Jonne Hass 2011-09-04 15:21:07 +02:00
parent 03110c466f
commit 6a268e08d6

View file

@ -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 's/*mysql/*postgres/' config/database.yml > config/database.yml
fi
# Set up database