mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
mkpkg: update mkpkg_kodi and mkpkg_binary-addons to use branches
This commit is contained in:
parent
2b2eee9d04
commit
2dae235e35
@ -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]
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user