buildsystem: set PKG_NAME and default PKG_*DESC only when sourcing a package

This commit is contained in:
MilhouseVH
2017-12-17 19:12:59 +00:00
parent 85a97582de
commit 4e77097d23
4 changed files with 4 additions and 7 deletions

View File

@@ -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"