Browse Source

development/cpan2tgz: Align with template.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/198/head
B. Watson 2 years ago
committed by Willy Sudiarto Raharjo
parent
commit
0e6a28522f
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 5
      development/cpan2tgz/cpan2tgz.SlackBuild

5
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

Loading…
Cancel
Save