use 'python2' everywhere since fdroidserver has not been tested with 3.x

This commit is contained in:
Hans-Christoph Steiner 2014-06-30 11:31:38 -04:00
parent 40d4e30010
commit 7a3992aa1a
3 changed files with 11 additions and 6 deletions

View file

@ -77,12 +77,17 @@ if [ -z $aapt ]; then
aapt=`ls -1 $ANDROID_HOME/build-tools/*/aapt | sort | tail -1`
fi
# allow the location of python to be overridden
if [ -z $python ]; then
python=python2
fi
#------------------------------------------------------------------------------#
echo_header "create a source tarball and use that to build a repo"
cd $WORKSPACE
python setup.py sdist
$python setup.py sdist
REPOROOT=`create_test_dir`
cd $REPOROOT