git-update: fixes for running on windows
authorScott D Phillips <scott.d.phillips@intel.com>
Thu, 17 Nov 2016 18:55:44 +0000 (10:55 -0800)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Thu, 17 Nov 2016 20:49:17 +0000 (17:49 -0300)
commit978f107a0b560cdbc7cca6e53621d2c49c650d9d
treec6259fd4e586d74089428d7961ae3195ccb8f7c9
parentb45052b60e78ff8373cdef09d8b307148653a0f3
git-update: fixes for running on windows

when running git-update as `py git-update` (which is convenient on
windows), SCRIPTDIR is '' instead of '.'. Fix that with normpath.

Printing emdash (U+2014) doesn't work on windows because it isn't in
cp437. Change it to hyphen.

https://bugzilla.gnome.org/show_bug.cgi?id=774636
git-update