diff options
author | B. Watson <urchlay@slackware.uk> | 2023-02-14 02:28:54 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 10:07:08 +0700 |
commit | 85100cdfd1b56d247e771e76bec0750b4c2fc9a0 (patch) | |
tree | 656026ea513a7a859c217604f9ec1c6e55ed0750 | |
parent | b3317d9c4e7c8140e42509789efa352a09c5ef8b (diff) |
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>
-rw-r--r-- | network/pidgin-privacy-please/pidgin-privacy-please.SlackBuild | 13 |
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 372775693d72..063382693d1e 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="" |