Merge pull request #105 from arcticshores/custom-kivy-repo

Allow customisation of kivy repo with env var KIVY_REPO.
This commit is contained in:
Mathieu Virbel 2014-11-24 02:57:45 +01:00
commit 9fd1190491

View file

@ -6,9 +6,13 @@ if [ "X$KIVY_BRANCH" == "X" ]; then
KIVY_BRANCH=stable KIVY_BRANCH=stable
fi fi
if [ "X$KIVY_REPO" == "X" ]; then
KIVY_REPO=https://github.com/kivy/kivy
fi
if [ ! -d $TMPROOT/kivy ] ; then if [ ! -d $TMPROOT/kivy ] ; then
try pushd $TMPROOT 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 cd kivy
try popd try popd
fi fi