summaryrefslogtreecommitdiffstats
path: root/development/pd-psql/pd-psql.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/pd-psql/pd-psql.SlackBuild')
-rw-r--r--development/pd-psql/pd-psql.SlackBuild7
1 files 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 <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.