diff options
author | B. Watson <urchlay@slackware.uk> | 2023-02-14 01:59:07 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 10:07:04 +0700 |
commit | cb049646cf20f94d996c9868d1d5ffd8cbd30d8f (patch) | |
tree | ae63d2cb077a67a7a3985f307bcf5f9c23ab7cc6 /development/pd-psql | |
parent | 7b49f3a07bd082a5dc36414e7d3129545d00f8f4 (diff) |
development/pd-psql: Align with template.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/pd-psql')
-rw-r--r-- | development/pd-psql/pd-psql.SlackBuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/development/pd-psql/pd-psql.SlackBuild b/development/pd-psql/pd-psql.SlackBuild index 7a320e7b5d8d..ea2716165ab1 100644 --- a/development/pd-psql/pd-psql.SlackBuild +++ b/development/pd-psql/pd-psql.SlackBuild @@ -1,10 +1,7 @@ -#!/bin/bash +#!/bin/bash -e # Slackware build script for <pd-psql> # Written by Michales Michaloudes korgie@gmail.com - -set -e - cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pd-psql @@ -12,6 +9,7 @@ VERSION=${VERSION:-2007} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -19,6 +17,7 @@ if [ -z "$ARCH" ]; then *) ARCH=$( uname -m ) ;; esac fi + # 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. |