summaryrefslogtreecommitdiffstats
path: root/network/pidgin-privacy-please
diff options
context:
space:
mode:
author B. Watson2023-02-14 08:28:54 +0100
committer Willy Sudiarto Raharjo2023-02-18 04:07:08 +0100
commit85100cdfd1b56d247e771e76bec0750b4c2fc9a0 (patch)
tree656026ea513a7a859c217604f9ec1c6e55ed0750 /network/pidgin-privacy-please
parentb3317d9c4e7c8140e42509789efa352a09c5ef8b (diff)
downloadslackbuilds-85100cdfd1b56d247e771e76bec0750b4c2fc9a0.tar.gz
network/pidgin-privacy-please: Fix PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/pidgin-privacy-please')
-rw-r--r--network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild b/network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild
index 372775693d..063382693d 100644
--- a/network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild
+++ b/network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild
@@ -30,14 +30,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
-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}
@@ -50,6 +42,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=""