From 58dcfd17987f9b39529e3c4e8187275a104a0708 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 4 Jul 2021 15:59:54 +0200 Subject: [PATCH] network/pmacct: Fix support for PRINT_PACKAGE_NAME Signed-off-by: Heinz Wiesinger --- network/pmacct/pmacct.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/pmacct/pmacct.SlackBuild b/network/pmacct/pmacct.SlackBuild index 6b220e6cc5..1dd2769e29 100644 --- a/network/pmacct/pmacct.SlackBuild +++ b/network/pmacct/pmacct.SlackBuild @@ -44,7 +44,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-$(echo $VERSION | tr - _)-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi