autogen.sh | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 2f9ee54cb7fa8767e43515bde1969f74be2533a8
Author: Stephan Bergmann <[email protected]>
Date: Thu Jan 18 15:25:58 2018 +0100
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/48130
Tested-by: Jenkins <[email protected]>
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/autogen.sh b/autogen.sh
index a4bab811a36b..6af2cf71da80 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+//;
s/\s+$//;
# migrate from the old system
if ( substr($_, 0, 1) eq "'" ) {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits