diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-04 15:59:55 +0200 |
---|---|---|
committer | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-07-17 21:55:17 +0200 |
commit | f85349282465701d88046ad0b1c6d4c66be8c19b (patch) | |
tree | ea9f8cbc7736dadcde4b0cade4a391f1064bacdc | |
parent | b9a8109adf511900bb4e444ef19aff666dfe07fc (diff) | |
download | slackbuilds-f85349282465701d88046ad0b1c6d4c66be8c19b.tar.gz |
network/sflowtool: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r-- | network/sflowtool/sflowtool.SlackBuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network/sflowtool/sflowtool.SlackBuild b/network/sflowtool/sflowtool.SlackBuild index 1ad90bd2a6..71273e3594 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 |