From 1a9cd946c91e74cf9bba6c9ebb240698e75c8c27 Mon Sep 17 00:00:00 2001
From: Heinz Wiesinger <pprkut@slackbuilds.org>
Date: Sun, 4 Jul 2021 15:59:58 +0200
Subject: system/dahdi-complete: Fix support for PRINT_PACKAGE_NAME

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
---
 system/dahdi-complete/dahdi-complete.SlackBuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'system')

diff --git a/system/dahdi-complete/dahdi-complete.SlackBuild b/system/dahdi-complete/dahdi-complete.SlackBuild
index 09400acc28d94..4f783a2072e20 100644
--- a/system/dahdi-complete/dahdi-complete.SlackBuild
+++ b/system/dahdi-complete/dahdi-complete.SlackBuild
@@ -32,7 +32,7 @@ PKGKERNEL=$(echo $KERNEL | tr - _)
 # 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}_$PKGKERNEL-$ARCH-$BUILD$TAG.$PKGTYPE"
   exit 0
 fi
 
-- 
cgit v1.2.3