aboutsummaryrefslogtreecommitdiff
path: root/games/spring/spring.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-02-14 02:50:55 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-18 10:07:10 +0700
commite8cc2ce4509e7fdc2f4a745be66fb051531d6818 (patch)
treed557cb54e26e2fbff84603b57d3ef46578a8a9ba /games/spring/spring.SlackBuild
parent1b305a59d3fe204e5825485d8df04b589149f06f (diff)
games/spring: Fix PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/spring/spring.SlackBuild')
-rw-r--r--games/spring/spring.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/spring/spring.SlackBuild b/games/spring/spring.SlackBuild
index 6f05ebaaf5ae..77adb970a9f4 100644
--- a/games/spring/spring.SlackBuild
+++ b/games/spring/spring.SlackBuild
@@ -42,11 +42,6 @@ BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
- echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
- exit 0
-fi
-
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -59,6 +54,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
if [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
else