summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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