summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2023-05-16 05:29:14 +0200
committer Willy Sudiarto Raharjo2023-05-20 06:17:48 +0200
commit0e6a28522ff4ba55ebe6d46c0b33b697b2a53711 (patch)
tree96e32d1e2158a73f740be40a700113f2728a43a5
parent1b8e68cbae68144c7e447eecd2bfb3b7166092be (diff)
downloadslackbuilds-0e6a28522ff4ba55ebe6d46c0b33b697b2a53711.tar.gz
development/cpan2tgz: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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 a44d94e6eb..6d026f034e 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