Allow customisation of kivy repo with env var KIVY_REPO.

This commit is contained in:
Safe Hammad 2014-11-07 10:54:16 +00:00
parent 2f8d7c0c26
commit 4a9caa0846

View file

@ -6,9 +6,13 @@ if [ "X$KIVY_BRANCH" == "X" ]; then
KIVY_BRANCH=stable
fi
if [ "X$KIVY_REPO" == "X" ]; then
KIVY_REPO=https://github.com/kivy/kivy
fi
if [ ! -d $TMPROOT/kivy ] ; then
try pushd $TMPROOT
try git clone -b $KIVY_BRANCH https://github.com/kivy/kivy
try git clone -b $KIVY_BRANCH $KIVY_REPO
try cd kivy
try popd
fi