mozilla-b2g/gaia — pull request #6524 by marijnh (2012-11-20 10:26:47+00:00)
Title: Bug 811890: camera doesn't work from locked home screen when you set a passcode

The problem was that this triggered access to asyncStorage, and that, due to
the way the camera app was copied into the system app's dir, the shared file
async-storage.js was not referenced correctly.

Since all references to `shared/` are from the index.html, this simply uses sed to
update them to `../shared/` when the camera app is copied. Not terribly robust
(people might try to add new references to shared stuff from other files), but no
worse than copying that app over like this in the first place.