shell script that populates a persistent epubReadingSystem.js file that contains variables which are picked-up when reader.html initialises the ReadiumSDK object (git tag, sha, human-readable version number, date/time)
fixed shell bugs and integrated script into XCode build phase (tested, all works fine)
ensure that epubReadingSystem.js is only modified after the initial test for git "clean" status
oops shell script typo
okay, now epubReadingSystem.js version info correctly reflects the "clean" state of the repository clone
epubReadingSystem.js is now a transient build artefact, rather than being persistent in git (version / date / build info)
now fetching the correct submodule HEAD from the .git directory (top-level sub-folder)
Merge branch 'develop' into feature/epubReadingSystem
Merge pull request #32 from readium/feature/epubReadingSystem

navigator.epubReadingSystem version info / git commit hash, shell script added to XCode build