mozilla-b2g/gaia — pull request #6096 by mykmelez (2012-10-30 22:18:34+00:00)
Title: don't use sed -i flag on Windows, as sed in MozillaBuild doesn't support it

`sed` in MozillaBuild 1.6 (the latest version) on Windows doesn't support the `-i` flag, which causes `make profile` to fail:

cp build/settings.json profile/settings.json
sed -i -e 's|-homescreenURL-|http://homescreen.gaiamobile.org:8080/manifest.webapp|g' profile/settings.json
sed: invalid option -- i
...
make: *** [profile] Error 4

The fix is to omit that flag when invoking `sed` on Windows.