digitarald / flash-b2g

Flash Firefox OS devices from public Mozilla builds.
MIT License
18 stars 5 forks source link

Path-issue results in backup_restore_profile.sh not being invoked on linux #17

Closed asutherland closed 10 years ago

asutherland commented 10 years ago

At least when running development style (node index.js) on linux, the flash script is explicitly run with a cwd of tempDir. However, it references the backup script via "bash ./backup_restore_profile.sh" which is not going to work with the cwd set like that.

I can help resolve this if you tell me your preferred means of dealing with this. The simplest possibility might be to just directly invoke the backup script from index.js rather than depending on the bash script to do it.