summaryrefslogtreecommitdiff
path: root/system/postgresql/postgresql.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/postgresql/postgresql.SlackBuild')
-rw-r--r--system/postgresql/postgresql.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/postgresql/postgresql.SlackBuild b/system/postgresql/postgresql.SlackBuild
index 7156aefa47..05b6462277 100644
--- a/system/postgresql/postgresql.SlackBuild
+++ b/system/postgresql/postgresql.SlackBuild
@@ -24,6 +24,8 @@
# Modified by the SlackBuilds.org Project
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=postgresql
VERSION=${VERSION:-10.17}
BUILD=${BUILD:-1}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}