diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2010-10-05 13:05:56 +0200 |
---|---|---|
committer | Thomas Klausner <wiz@NetBSD.org> | 2010-10-05 13:06:28 +0200 |
commit | fb354eb03db31eb493c6473c49da0b5f7069b377 (patch) | |
tree | 81b896d6993732be77a63ccb2f2792df42ed4c9a /autogen.sh | |
parent | 47ac2e8d1f71a88173ecc2bc133a8577b2d95005 (diff) |
Use more portable sed construct for quoting expressions.
Remove unused variable.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 33c847cf996f..defc542c41e9 100755 --- a/autogen.sh +++ b/autogen.sh @@ -11,7 +11,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="" |