aboutsummaryrefslogtreecommitdiff
path: root/misc/bdf2psf
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-12-28 22:01:29 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-31 09:14:54 +0700
commit958bda0ba70229e850e35db4cb9b8367ab2cce2d (patch)
tree6bc4d87323ccf8f4566b0a4fdd3514d121a2cd90 /misc/bdf2psf
parent43415428fcb0b77551df296045e9e7df89cb8af4 (diff)
misc/bdf2psf: Fix PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/bdf2psf')
-rw-r--r--misc/bdf2psf/bdf2psf.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/bdf2psf/bdf2psf.SlackBuild b/misc/bdf2psf/bdf2psf.SlackBuild
index 67939ef3357c..857c5ce01763 100644
--- a/misc/bdf2psf/bdf2psf.SlackBuild
+++ b/misc/bdf2psf/bdf2psf.SlackBuild
@@ -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