mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
buildsystem: no need to source package for PKG_NAME
This commit is contained in:
parent
eaf81e7277
commit
82f70d28c9
@ -714,7 +714,7 @@ get_pkg_variable() {
|
|||||||
|
|
||||||
# get package's build dir
|
# get package's build dir
|
||||||
get_build_dir() {
|
get_build_dir() {
|
||||||
local _PKG_NAME="$(get_pkg_variable "$1" PKG_NAME)" _PKG_VERSION="$(get_pkg_version "$1")"
|
local _PKG_NAME="${1%:*}" _PKG_VERSION="$(get_pkg_version "$1")"
|
||||||
if [ -n "$_PKG_NAME" -a -n "$_PKG_VERSION" ]; then
|
if [ -n "$_PKG_NAME" -a -n "$_PKG_VERSION" ]; then
|
||||||
echo $BUILD/${_PKG_NAME}-${_PKG_VERSION}
|
echo $BUILD/${_PKG_NAME}-${_PKG_VERSION}
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user