GNOME Bugzilla – Bug 774636
git-update: fix running on windows
Last modified: 2016-11-17 20:52:36 UTC
Couple small problems with the script on windows: - SCRIPTDIR is '' when running as `py git-update` which gets set as a curdir and then fails creating a subprocess. - Printing an emdash doesn't work in a windows console because strings get encoded into cp437 before printing and emdash isn't there.
Created attachment 340169 [details] [review] [PATCH gst-build] git-update: fixes for running on windows
commit 978f107a0b560cdbc7cca6e53621d2c49c650d9d Author: Scott D Phillips <scott.d.phillips@intel.com> Date: Thu Nov 17 10:55:44 2016 -0800 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