allow customization of kivy branch
This commit is contained in:
parent
cdd79ab77c
commit
ca544fc29e
1 changed files with 6 additions and 2 deletions
|
@ -2,9 +2,13 @@
|
||||||
|
|
||||||
. $(dirname $0)/environment.sh
|
. $(dirname $0)/environment.sh
|
||||||
|
|
||||||
|
if [ "X$KIVY_BRANCH" == "X" ]; then
|
||||||
|
KIVY_BRANCH=stable
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -d $TMPROOT/kivy ] ; then
|
if [ ! -d $TMPROOT/kivy ] ; then
|
||||||
try pushd $TMPROOT
|
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 cd kivy
|
||||||
try popd
|
try popd
|
||||||
fi
|
fi
|
||||||
|
@ -12,7 +16,7 @@ fi
|
||||||
if [ "X$1" = "X-f" ] ; then
|
if [ "X$1" = "X-f" ] ; then
|
||||||
try pushd $TMPROOT/kivy
|
try pushd $TMPROOT/kivy
|
||||||
try git clean -dxf
|
try git clean -dxf
|
||||||
try git pull origin stable
|
try git pull origin $KIVY_BRANCH
|
||||||
try popd
|
try popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue