mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-18 20:18:06 +02:00
This reverts commit ae7898dfdb.
Turns out the python scripts are _not_ fully python 3 compatible.
As Ilia reported using get_xmlpool.py with LANG=C produces some weird
output - see the link for details.
Even though the issue was spotted with the autoconf build, it exposes a
genuine problem with the script (and lack of lang handling of the meson
build.)
https://lists.freedesktop.org/archives/mesa-dev/2018-August/203508.html
16 lines
572 B
Bash
Executable file
16 lines
572 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ -z "$srcdir" -o -z "$abs_builddir" ]; then
|
|
echo ""
|
|
echo "Warning: you're invoking the script manually and things may fail."
|
|
echo "Attempting to determine/set srcdir and abs_builddir variables."
|
|
echo ""
|
|
|
|
# Should point to `dirname Makefile.glsl.am`
|
|
srcdir=./../../../
|
|
cd `dirname "$0"`
|
|
# Should point to `dirname Makefile` equivalent to the above.
|
|
abs_builddir=`pwd`/../../../
|
|
fi
|
|
|
|
$PYTHON2 $srcdir/glsl/glcpp/tests/glcpp_test.py $abs_builddir/glsl/glcpp/glcpp $srcdir/glsl/glcpp/tests --unix --windows --oldmac --bizarro
|