diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2014-05-30 11:18:20 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2014-05-30 11:19:30 +0200 |
commit | 86908b38dab9b699b801ddd18c1eee9c4ce71455 (patch) | |
tree | ebeea6f7bcfe8db5266044d4e1d1d4fd36b07d85 /autogen.sh | |
parent | 340bcdea84741a707454e7b2e0ce400a0620d84b (diff) |
strip trailing spaces when reading autogen.input/lastrun
Change-Id: I9d47d2d4c6d2eb14968bfd79ef2a406c57afa21d
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index 6894a8ee9c7c..1a1a2d452ed3 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"; |