network/iptv-analyzer: Fix support for PRINT_PACKAGE_NAME

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2021-07-04 15:59:53 +02:00
parent bf413fce01
commit 6dcded741d

View file

@ -45,7 +45,7 @@ fi
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
echo "$PRGNAM-${VERSION}_${KERNEL//-/_}-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi