mkpkg: update mkpkg_kodi and mkpkg_binary-addons to use branches

This commit is contained in:
Lukas Rusak 2015-12-14 15:27:35 -08:00
parent 2b2eee9d04
commit 2dae235e35
2 changed files with 12 additions and 2 deletions

View File

@ -19,7 +19,12 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
KODI_DIR="kodi-master.git"
if [ -z "$1" ]; then
echo "Usage: $0 <branch-name>"
exit 0
fi
KODI_DIR="kodi-$1.git"
git_clone() {
# git_clone https://repo.url branch ./target_dir [githash]

View File

@ -19,9 +19,14 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
if [ -z "$1" ]; then
echo "Usage: $0 <branch-name>"
exit 0
fi
PKG_NAME="kodi"
PKG_VERSION=""
BRANCH="master"
BRANCH="$1"
GIT_REPO="git://github.com/xbmc/xbmc.git"
DEST_DIR="$PKG_NAME-$BRANCH"