[ooo-build-commit] .: autogen.sh
Thomas Klausner
tklausner at kemper.freedesktop.org
Tue Oct 5 04:07:37 PDT 2010
autogen.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4992b7768e8afa4f1b6e4f26ed018f6d2c10f055
Author: Thomas Klausner <wiz at NetBSD.org>
Date: Tue Oct 5 13:05:26 2010 +0200
Use more portable sed construct for quoting expressions.
diff --git a/autogen.sh b/autogen.sh
index 470c693..23c8a6c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,7 +13,7 @@ fi
requote_args ()
{
- sed -e 's/.*configure //' -e 's/=\(\([^"'"'"'-]\|-[^-]\| \)*\)\( \|$\)/="\1" /g'
+ sed -r -e 's/.*configure //' -e 's/(["'"'"'])/\\\1/g' -e 's/=(([^"'"'"'-]|-[^-]| )*)( |$)/="\1" /g'
}
old_args=""
More information about the ooo-build-commit
mailing list