[Libreoffice-commits] core.git: autogen.sh

Isamu Mogi saturday6c at gmail.com
Fri Jul 26 09:12:44 PDT 2013


 autogen.sh |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 92e484c4b5baffbcc3a24af0d104adde351f77c0
Author: Isamu Mogi <saturday6c at gmail.com>
Date:   Sat Jul 20 09:45:36 2013 +0900

    Ignore empty line in autogen.input
    
    Change-Id: I5a640c996779ba548c1b4772820eaa799537c1af
    Reviewed-on: https://gerrit.libreoffice.org/4991
    Reviewed-by: Luboš Luňák <l.lunak at suse.cz>
    Tested-by: Luboš Luňák <l.lunak at suse.cz>

diff --git a/autogen.sh b/autogen.sh
index 7b1b726..dc3a58d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -76,6 +76,8 @@ sub read_args($)
             }
         } elsif ( substr($_, 0, 1) eq "#" ) {
             # comment
+        } elsif ( length == 0 ) {
+            # empty line
         } else {
             push @lst, $_;
         }


More information about the Libreoffice-commits mailing list