misc/bdf2psf: Fix PRINT_PACKAGE_NAME.

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

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-12-28 22:01:29 -05:00 committed by Willy Sudiarto Raharjo
parent 43415428fc
commit 958bda0ba7
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -7,6 +7,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20221228 bkw: move ARCH assignment to top of script.
# 20220110 bkw:
# - take over maintenance.
# - relicense as WTFPL, with permission from Didier.
@ -22,6 +24,9 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
# perl script
ARCH=noarch
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -31,9 +36,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# perl script
ARCH=noarch
set -e
rm -rf $PKG