summaryrefslogtreecommitdiff
path: root/network/pgbouncer/pgbouncer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/pgbouncer/pgbouncer.SlackBuild')
-rw-r--r--network/pgbouncer/pgbouncer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/pgbouncer/pgbouncer.SlackBuild b/network/pgbouncer/pgbouncer.SlackBuild
index 99bcd91350..b827dafd6b 100644
--- a/network/pgbouncer/pgbouncer.SlackBuild
+++ b/network/pgbouncer/pgbouncer.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pgbouncer
VERSION=${VERSION:-1.5.5}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}