2017-09-06 12:23:59 -05:00
|
|
|
#!/bin/bash -le
|
|
|
|
|
|
|
|
#-l above (login shell) so that /etc/profile runs so that perl is
|
|
|
|
# on the path.
|
|
|
|
|
|
|
|
#-e so that if any command has an exit code != 0, this script will
|
|
|
|
# exit immediately.
|
|
|
|
|
|
|
|
# Python is python 3, but gnucash doesn't work with python 3. There
|
|
|
|
# doesn't seem to be a way to tell automake to use /usr/bin/python2,
|
|
|
|
# so we'll mock this up
|
2018-01-26 09:06:29 -06:00
|
|
|
mkdir ourpython_bin
|
|
|
|
ln -s /usr/bin/python2 ourpython_bin/python
|
|
|
|
export PATH=/ourpython_bin:"$PATH"
|
2018-02-27 15:21:00 -06:00
|
|
|
export PLATFORM_CMAKE_OPTS=
|
2017-09-16 14:20:16 -05:00
|
|
|
echo path is "$PATH"
|
|
|
|
echo python version is "$(python --version)"
|
2018-02-27 15:21:00 -06:00
|
|
|
echo PLATFORM_CMAKE_OPTS= "$PLATFORM_CMAKE_OPTS"
|
2017-09-06 12:23:59 -05:00
|
|
|
|
|
|
|
../commonbuild
|