Kaydet (Commit) 2f9ee54c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Also strip leading whitespace from autogen.input lines

...which allows to align --enable/--disable switches on the part being en-/dis-
abled, as in

> --disable-assert-always-abort
>  --enable-avahi
>  --enable-breakpad
>  --enable-build-unowinreg
> --disable-ccache

for better readability

Change-Id: I490402c74ea1ee535deee6ef79274b588b614820
Reviewed-on: https://gerrit.libreoffice.org/48130Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 74403516
...@@ -77,6 +77,7 @@ sub read_args($) ...@@ -77,6 +77,7 @@ sub read_args($)
open ($fh, $file) || die "can't open file: $file"; open ($fh, $file) || die "can't open file: $file";
while (<$fh>) { while (<$fh>) {
chomp(); chomp();
s/^\s+//;
s/\s+$//; s/\s+$//;
# migrate from the old system # migrate from the old system
if ( substr($_, 0, 1) eq "'" ) { if ( substr($_, 0, 1) eq "'" ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment