strip trailing spaces when reading autogen.input/lastrun
Change-Id: I9d47d2d4c6d2eb14968bfd79ef2a406c57afa21d
This commit is contained in:
parent
340bcdea84
commit
86908b38da
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue