From f159e007a106267b3119a8ff3583bc106b396767 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 6 Jan 2023 14:46:26 -0500 Subject: audio/tap_plugins: Fix PRINT_PACKAGE_NAME. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- audio/tap_plugins/tap_plugins.SlackBuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'audio') diff --git a/audio/tap_plugins/tap_plugins.SlackBuild b/audio/tap_plugins/tap_plugins.SlackBuild index f8ffcbd855449..235af296db976 100644 --- a/audio/tap_plugins/tap_plugins.SlackBuild +++ b/audio/tap_plugins/tap_plugins.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230106 bkw: rearrage stuff so PRINT_PACKAGE_NAME works. + # 20211201 bkw: update for v1.0.1. # - fix -current build. # - new-style icons. @@ -27,11 +29,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} @@ -44,6 +41,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="" -- cgit v1.2.3