mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
de50dc5c3d
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
(cherry picked from commit e2962b4262
)
18 lines
316 B
Bash
Executable File
18 lines
316 B
Bash
Executable File
#!/bin/sh
|
|
|
|
PREVPATH=`dirname $0`
|
|
|
|
WAF=./buildtools/bin/waf
|
|
|
|
# using JOBS=1 gives maximum compatibility with
|
|
# systems like AIX which have broken threading in python
|
|
JOBS=1
|
|
export JOBS
|
|
|
|
# Make sure we don't have any library preloaded.
|
|
unset LD_PRELOAD
|
|
|
|
cd . || exit 1
|
|
$PYTHON $WAF configure $@ || exit 1
|
|
cd $PREVPATH
|