Code

version-gen.sh: Append '.dirty' to the version number if appropriate.