From ca544fc29ee2ef66b22b02d6ab64ef799a803592 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Mon, 3 Feb 2014 17:16:47 +0100 Subject: [PATCH] allow customization of kivy branch --- tools/build-kivy.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/build-kivy.sh b/tools/build-kivy.sh index ae8309a..d0e9de3 100755 --- a/tools/build-kivy.sh +++ b/tools/build-kivy.sh @@ -2,9 +2,13 @@ . $(dirname $0)/environment.sh +if [ "X$KIVY_BRANCH" == "X" ]; then + KIVY_BRANCH=stable +fi + if [ ! -d $TMPROOT/kivy ] ; then try pushd $TMPROOT - try git clone -b stable https://github.com/kivy/kivy + try git clone -b $KIVY_BRANCH https://github.com/kivy/kivy try cd kivy try popd fi @@ -12,7 +16,7 @@ fi if [ "X$1" = "X-f" ] ; then try pushd $TMPROOT/kivy try git clean -dxf - try git pull origin stable + try git pull origin $KIVY_BRANCH try popd fi