aboutsummaryrefslogtreecommitdiff
path: root/network/sflowtool
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 15:59:55 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-17 21:55:17 +0200
commitf85349282465701d88046ad0b1c6d4c66be8c19b (patch)
treeea9f8cbc7736dadcde4b0cade4a391f1064bacdc /network/sflowtool
parentb9a8109adf511900bb4e444ef19aff666dfe07fc (diff)
network/sflowtool: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'network/sflowtool')
-rw-r--r--network/sflowtool/sflowtool.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/sflowtool/sflowtool.SlackBuild b/network/sflowtool/sflowtool.SlackBuild
index 1ad90bd2a6aad..71273e3594e6b 100644
--- a/network/sflowtool/sflowtool.SlackBuild
+++ b/network/sflowtool/sflowtool.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