aboutsummaryrefslogtreecommitdiff
path: root/libraries/php-pgsql/php-pgsql.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/php-pgsql/php-pgsql.SlackBuild')
-rw-r--r--libraries/php-pgsql/php-pgsql.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/php-pgsql/php-pgsql.SlackBuild b/libraries/php-pgsql/php-pgsql.SlackBuild
index 658e85049e7e9..bd73d349f4d59 100644
--- a/libraries/php-pgsql/php-pgsql.SlackBuild
+++ b/libraries/php-pgsql/php-pgsql.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SRCNAM=php
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=php-pgsql
VERSION=${VERSION:-7.4.3}
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}