Working on updating this script for newer git versions that don't keep the object files in the submodules .git directory. It's still not working, though, some problem with the `git submodule foreach` changing environment variables I think.