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
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue