buildsystem: no need to source package for PKG_NAME

This commit is contained in:
MilhouseVH 2019-07-09 10:37:21 +01:00
parent eaf81e7277
commit 82f70d28c9

View File

@ -714,7 +714,7 @@ get_pkg_variable() {
# get package's 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
echo $BUILD/${_PKG_NAME}-${_PKG_VERSION}
fi