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

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Fri May 30 02:19:18 PDT 2014


 autogen.sh |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 86908b38dab9b699b801ddd18c1eee9c4ce71455
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Fri May 30 11:18:20 2014 +0200

    strip trailing spaces when reading autogen.input/lastrun
    
    Change-Id: I9d47d2d4c6d2eb14968bfd79ef2a406c57afa21d

diff --git a/autogen.sh b/autogen.sh
index 6894a8e..1a1a2d4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -77,6 +77,7 @@ sub read_args($)
     open ($fh, $file) || die "can't open file: $file";
     while (<$fh>) {
         chomp();
+        s/\s+$//;
         # migrate from the old system
         if ( substr($_, 0, 1) eq "'" ) {
             print STDERR "Migrating options from the old autogen.lastrun format, using:\n";


More information about the Libreoffice-commits mailing list