Skip to content

Commit

Permalink
Allow customisation of kivy repo with env var KIVY_REPO.
Browse files Browse the repository at this point in the history
  • Loading branch information
safehammad committed Nov 7, 2014
1 parent 2f8d7c0 commit 4a9caa0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/build-kivy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a9caa0

Please sign in to comment.