[Libreoffice-commits] core.git: solenv/gbuild

Luboš Luňák l.lunak at suse.cz
Tue May 14 09:25:30 PDT 2013


 solenv/gbuild/platform/filter-showIncludes.awk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 09c20b2f623e2271a3ab9eb82c2419a8951320c1
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue May 14 18:24:35 2013 +0200

    fix filter-showIncludes
    
    We want what is after the prefix, not the prefix itself.
    80cf1c22b629d524de18f20dcfd155d889ee5d2f could not have possibly worked.
    
    Change-Id: Ic2ab84d8c60ac608a773368b873ea5f98be4cd29

diff --git a/solenv/gbuild/platform/filter-showIncludes.awk b/solenv/gbuild/platform/filter-showIncludes.awk
index 5d3fdcb..331be66 100755
--- a/solenv/gbuild/platform/filter-showIncludes.awk
+++ b/solenv/gbuild/platform/filter-showIncludes.awk
@@ -42,7 +42,7 @@ BEGIN {
 {
     sub(/^ */, "")
     if (index($0, showincludes_prefix) == 1) {
-        $0 = substr($0, 1, length(showincludes_prefix))
+        $0 = substr($0, length(showincludes_prefix) + 1)
         sub(/^ */, "")
         gsub(/\\/, "/")
         gsub(/ /, "\\ ")


More information about the Libreoffice-commits mailing list