bin/gbuild-to-ide | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 86524159c6ce305ffe4738e7ce6b56ea166aaf00 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Sun Nov 27 22:40:31 2016 +0100 better way to split def patterns Change-Id: I8c7ab7e980d2ba01214c1dd15c81a309d0d2c80c Reviewed-on: https://gerrit.libreoffice.org/31274 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index 9349543..366b808 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -95,7 +95,7 @@ class GbuildParser: @staticmethod def __split_defs(defsline): defs = {} - alldefs = [defswitch.strip()[2:] for defswitch in defsline.strip().split(' ') if len(defswitch) > 2] + alldefs = [defswitch.strip() for defswitch in defsline.strip().split(' -D') if len(defswitch) > 2] for d in alldefs: defparts = d.split('=') if len(defparts) == 1: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits