really fix sed

This commit is contained in:
Jonne Hass 2011-09-04 15:31:42 +02:00
parent 6a268e08d6
commit 1a9e0162f9

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