diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-03-08 12:00:03 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-03-10 16:22:45 +0100 |
commit | cf1b4679b0143e97d2e05cae9c5a01f0f4234ed8 (patch) | |
tree | 87fe09cc828f8a1d2f586af6f87c2e6078d64294 /solenv | |
parent | 245792c8514d396e982dc80317208d59a8035077 (diff) |
Fix build with latest Cygwin updates
Stop bash complaining about \0 bytes in input
(cherry picked from commit 8800292351dcf1f538c47ac6acf834ac2633ce6b)
Strip newlines from UCRT detecion using tr
(cherry picked from commit 37baabe6436037de604bfbc2702bfb0bc156c41b)
Remove stray CR from input
(cherry picked from commit 77779166569da389de44075b3d03413b353046a4)
Just get rid of CR when parsing .bat output
(cherry picked from commit 019ea173701eae4b8c5ffd45bb0063fc0a688ce0)
Change-Id: Ieef2f8eb98181f5a4ea6a5527bc36de9b88716b5
Reviewed-on: https://gerrit.libreoffice.org/35010
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 86bb733f6a9af9af253afe896e315b463e592dc7)
Diffstat (limited to 'solenv')
-rwxr-xr-x | solenv/gbuild/platform/filter-showIncludes.awk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/filter-showIncludes.awk b/solenv/gbuild/platform/filter-showIncludes.awk index 21a458521308..6ec13e2fdb4c 100755 --- a/solenv/gbuild/platform/filter-showIncludes.awk +++ b/solenv/gbuild/platform/filter-showIncludes.awk @@ -40,6 +40,7 @@ BEGIN { } { + sub(/\r$/, "") sub(/^ */, "") if (index($0, showincludes_prefix) == 1) { $0 = substr($0, length(showincludes_prefix) + 1) |