diff options
author | B. Watson <urchlay@slackware.uk> | 2023-02-14 02:49:01 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 10:07:10 +0700 |
commit | 14e9392aeb56c0820ad474d09b2788ce37d17248 (patch) | |
tree | 99a1d98559e0dbed366dfc69fa2d28f921f45cc7 /games | |
parent | 401909e2b2848d2eb12ebc795cd6b8c423899df6 (diff) |
games/rezerwar: 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')
-rw-r--r-- | games/rezerwar/rezerwar.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games/rezerwar/rezerwar.SlackBuild b/games/rezerwar/rezerwar.SlackBuild index aa9b3c57b0e89..83217500aee98 100644 --- a/games/rezerwar/rezerwar.SlackBuild +++ b/games/rezerwar/rezerwar.SlackBuild @@ -14,11 +14,6 @@ BUILD=${BUILD:-1} 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} @@ -31,6 +26,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" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" elif [ "$ARCH" = "i686" ]; then |