aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 15:59:54 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-17 21:55:16 +0200
commit58dcfd17987f9b39529e3c4e8187275a104a0708 (patch)
tree2edf1cbc3cff6a6637a4f13cbc192af880039785 /network
parent192bc73aa144d81110aee4eaaa98fa63caeea43d (diff)
network/pmacct: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/pmacct/pmacct.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/pmacct/pmacct.SlackBuild b/network/pmacct/pmacct.SlackBuild
index 6b220e6cc5672..1dd2769e29564 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