scripts/setenv_local.sh: python3 compat
authorPaul Brossier <piem@piem.org>
Mon, 28 Nov 2016 17:49:00 +0000 (18:49 +0100)
committerPaul Brossier <piem@piem.org>
Mon, 28 Nov 2016 17:49:00 +0000 (18:49 +0100)
scripts/setenv_local.sh

index ac9a5cf..6d33efa 100644 (file)
@@ -8,7 +8,7 @@
 # WARNING: this script will *overwrite* existing (DY)LD_LIBRARY_PATH and
 # PYTHONPATH variables.
 
-PYTHON_PLATFORM=`python -c "import pkg_resources, sys; print '%s-%s' % (pkg_resources.get_build_platform(), '.'.join(map(str, sys.version_info[0:2])))"`
+PYTHON_PLATFORM=`python -c "import pkg_resources, sys; print ('%s-%s' % (pkg_resources.get_build_platform(), '.'.join(map(str, sys.version_info[0:2]))))"`
 
 AUBIODIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
 AUBIOLIB=$AUBIODIR/build/src