Skip to content

Commit 3fc213c

Browse files
committed
Fix gcsauthors.html output (#1615)
* gcsversioninfo: elim unnecessary defines * version-info: pass none (split on whitespace)
1 parent 48c5bfe commit 3fc213c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

ground/gcs/gcsversioninfo.pri

-2
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,3 @@ REL_AUTHORS_DEST = $$system_path($$AUTHORS_PATH/gcsrelauthors.html)
4040
DEPENDPATH *= $$VERSION_INFO_PATH
4141
HEADERS *= $$VERSION_INFO_HEADER
4242
DEFINES += 'GCS_VERSION_INFO_FILE=\\\"$$VERSION_INFO_HEADER\\\"'
43-
DEFINES += 'GCS_AUTHORS_FILE=\\\"$$AUTHORS_DEST\\\"'
44-
DEFINES += 'GCS_REL_AUTHORS_FILE=\\\"$$REL_AUTHORS_DEST\\\"'

make/scripts/version-info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def _get_authors(self):
144144
self._authors = []
145145
self._exec('shortlog -sn')
146146
if self._rc == 0:
147-
self._authors = [l.strip().split('\t', 1)[1] for l in self._out.splitlines()]
147+
self._authors = [l.strip().split(None, 1)[1] for l in self._out.splitlines()]
148148

149149

150150
def __init__(self, path = "."):

0 commit comments

Comments
 (0)