summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 16:00:02 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-17 21:55:21 +0200
commit91d545c8105f3f7ad54407376807de18bd658c9a (patch)
tree20e72cb4a6c72ce88798c40499068eed6e7f423a
parentc52a07c5d75453ca51f72a4c27ef398047c2b61e (diff)
downloadslackbuilds-91d545c8105f3f7ad54407376807de18bd658c9a.tar.gz
system/tp_smapi: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--system/tp_smapi/tp_smapi.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/tp_smapi/tp_smapi.SlackBuild b/system/tp_smapi/tp_smapi.SlackBuild
index bc1f8f5e0f..1056545e07 100644
--- a/system/tp_smapi/tp_smapi.SlackBuild
+++ b/system/tp_smapi/tp_smapi.SlackBuild
@@ -43,7 +43,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}_$(echo $KERNEL | tr '-' '_')-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi