mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
buildsystem: set PKG_NAME and default PKG_*DESC only when sourcing a package
This commit is contained in:
@@ -165,11 +165,6 @@ reset_pkg_vars() {
|
||||
done
|
||||
[ -n "${vars}" ] && unset -v ${vars}
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
PKG_NAME="$1"
|
||||
PKG_SHORTDESC="$1 (autogenerated)"
|
||||
PKG_LONGDESC="$1 (autogenerated)"
|
||||
fi
|
||||
PKG_VERSION="0.0invalid"
|
||||
PKG_REV="0"
|
||||
PKG_ARCH="any"
|
||||
|
||||
Reference in New Issue
Block a user