summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2021-08-02 17:43:01 +0200
committerAndreas Schneider <asn@cryptomilk.org>2021-08-03 18:36:37 +0000
commite2962b4262fc4a7197a3fcbd010fcfaca781baea (patch)
tree1c5d47fd2470869dd759638765554ff3b541b91f
parent93bac5f12240597e1e92291de70a7000a403baca (diff)
downloadsamba-e2962b4262fc4a7197a3fcbd010fcfaca781baea.tar.gz
configure: Do not put arguments into double quotes
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14777 This could create an issue that arguments don't get split by python and then the following could happen: ./configure --libdir=/usr/lib64 --enable-clangdb LIBDIR='/usr/lib64 --enable-clangdb' This ends then up in parameters.all.xml: <!ENTITY pathconfig.LIBDIR '/usr/lib64 --enable-clangdb'> The python parser then errors out: xml.etree.ElementTree.ParseError: not well-formed (invalid token) Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Aug 3 18:36:37 UTC 2021 on sn-devel-184
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a6ca50feb47..2b0ffb0dae1 100755
--- a/configure
+++ b/configure
@@ -13,5 +13,5 @@ export JOBS
unset LD_PRELOAD
cd . || exit 1
-$PYTHON $WAF configure "$@" || exit 1
+$PYTHON $WAF configure $@ || exit 1
cd $PREVPATH