games/fortune_doctor_who: 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 2023-01-07 02:52:59 -05:00 committed by Willy Sudiarto Raharjo
parent 3a12807725
commit d9b9f6ee75
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230107 bkw: fix PRINT_PACKAGE_NAME.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fortune_doctor_who
@ -13,6 +15,7 @@ VERSION=${VERSION:-20200923}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
@ -23,8 +26,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
ARCH=noarch
set -e
rm -rf $PKG