Merge pull request #105 from arcticshores/custom-kivy-repo
Allow customisation of kivy repo with env var KIVY_REPO.
This commit is contained in:
commit
9fd1190491
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue