From cb049646cf20f94d996c9868d1d5ffd8cbd30d8f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 14 Feb 2023 01:59:07 -0500 Subject: [PATCH] development/pd-psql: Align with template. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/pd-psql/pd-psql.SlackBuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/development/pd-psql/pd-psql.SlackBuild b/development/pd-psql/pd-psql.SlackBuild index 7a320e7b5d..ea2716165a 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 # 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.