aboutsummaryrefslogtreecommitdiff
path: root/system/rhash/rhash.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-02-14 02:49:52 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-18 10:07:10 +0700
commitee9bb0386c273c97910a22e4fcc02516b199e5cf (patch)
treeed4f7541ae9adfe9331349cce5bce6151b17bb59 /system/rhash/rhash.SlackBuild
parent14e9392aeb56c0820ad474d09b2788ce37d17248 (diff)
system/rhash: Fix PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/rhash/rhash.SlackBuild')
-rw-r--r--system/rhash/rhash.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/rhash/rhash.SlackBuild b/system/rhash/rhash.SlackBuild
index 824c820d902c..d59c4334b16d 100644
--- a/system/rhash/rhash.SlackBuild
+++ b/system/rhash/rhash.SlackBuild
@@ -55,11 +55,6 @@ if [ "$STATICLIB" = "yes" ]; then
ENABLESTATICLIB="--enable-lib-static"
fi
-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}
@@ -72,6 +67,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"
LIBDIRSUFFIX=""