strip trailing spaces when reading autogen.input/lastrun

Change-Id: I9d47d2d4c6d2eb14968bfd79ef2a406c57afa21d
This commit is contained in:
Christian Lohmaier 2014-05-30 11:18:20 +02:00
parent 340bcdea84
commit 86908b38da

View file

@ -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";