summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-09 10:10:57 +0100
committerVasily Melenchuk <Vasily.Melenchuk@cib.de>2017-09-19 14:19:46 +0300
commitce508ddfa90ad2b51c7dff393f529f7a2adee814 (patch)
tree9623ba1c529038416c5aa3ef996565a88bcd624a
parent86e2fdc963276af9e99cc65e889a3e6b72bf779d (diff)
Remove stray CR from input
...that remained there with recent Cygwin/Bash version, which apparently had changes to their Unix-vs.-DOS line end handling Change-Id: Ib4c7c924362f9e93066e544ed5214fe589aa5336 Reviewed-on: https://gerrit.libreoffice.org/34990 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
-rwxr-xr-xsolenv/gbuild/platform/filter-showIncludes.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/filter-showIncludes.awk b/solenv/gbuild/platform/filter-showIncludes.awk
index 06788a94d368..47f7f6cb41ba 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)