aboutsummaryrefslogtreecommitdiff
path: root/development/cpan2tgz
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-15 23:29:14 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:48 +0700
commit0e6a28522ff4ba55ebe6d46c0b33b697b2a53711 (patch)
tree96e32d1e2158a73f740be40a700113f2728a43a5 /development/cpan2tgz
parent1b8e68cbae68144c7e447eecd2bfb3b7166092be (diff)
development/cpan2tgz: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cpan2tgz')
-rw-r--r--development/cpan2tgz/cpan2tgz.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/development/cpan2tgz/cpan2tgz.SlackBuild b/development/cpan2tgz/cpan2tgz.SlackBuild
index a44d94e6eb9e..6d026f034e13 100644
--- a/development/cpan2tgz/cpan2tgz.SlackBuild
+++ b/development/cpan2tgz/cpan2tgz.SlackBuild
@@ -33,16 +33,13 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# 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"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-cpan2tgz
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e