mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +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
|
# 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() {
|
||||||
# git_clone https://repo.url branch ./target_dir [githash]
|
# git_clone https://repo.url branch ./target_dir [githash]
|
||||||
|
@ -19,9 +19,14 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
echo "Usage: $0 <branch-name>"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
PKG_NAME="kodi"
|
PKG_NAME="kodi"
|
||||||
PKG_VERSION=""
|
PKG_VERSION=""
|
||||||
BRANCH="master"
|
BRANCH="$1"
|
||||||
GIT_REPO="git://github.com/xbmc/xbmc.git"
|
GIT_REPO="git://github.com/xbmc/xbmc.git"
|
||||||
DEST_DIR="$PKG_NAME-$BRANCH"
|
DEST_DIR="$PKG_NAME-$BRANCH"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user