From 958bda0ba70229e850e35db4cb9b8367ab2cce2d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 28 Dec 2022 22:01:29 -0500 Subject: misc/bdf2psf: Fix PRINT_PACKAGE_NAME. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- misc/bdf2psf/bdf2psf.SlackBuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/misc/bdf2psf/bdf2psf.SlackBuild b/misc/bdf2psf/bdf2psf.SlackBuild index 67939ef3357cd..857c5ce01763e 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 -- cgit v1.2.3