summaryrefslogtreecommitdiffstats
path: root/development/gnome-common
diff options
context:
space:
mode:
author B. Watson2023-02-14 07:45:30 +0100
committer Willy Sudiarto Raharjo2023-02-18 04:07:01 +0100
commit33cd2c90dff4dcb31405acb87f50cfc278e8b3f4 (patch)
treed6455b81f10bdd5dae554f61accf51a5251862f9 /development/gnome-common
parentf3675d6989b88a0c3249a049d1d2af090ea62af4 (diff)
downloadslackbuilds-33cd2c90dff4dcb31405acb87f50cfc278e8b3f4.tar.gz
development/gnome-common: Fix PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gnome-common')
-rw-r--r--development/gnome-common/gnome-common.SlackBuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/development/gnome-common/gnome-common.SlackBuild b/development/gnome-common/gnome-common.SlackBuild
index 081cc47774..ec48306027 100644
--- a/development/gnome-common/gnome-common.SlackBuild
+++ b/development/gnome-common/gnome-common.SlackBuild
@@ -29,10 +29,8 @@ VERSION=${VERSION:-3.18.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
-# 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
@@ -42,8 +40,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch
-
set -eu
rm -rf $PKG