aboutsummaryrefslogtreecommitdiff
path: root/libraries/pgtcl-ng/pgtcl-ng.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pgtcl-ng/pgtcl-ng.SlackBuild')
-rw-r--r--libraries/pgtcl-ng/pgtcl-ng.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/pgtcl-ng/pgtcl-ng.SlackBuild b/libraries/pgtcl-ng/pgtcl-ng.SlackBuild
index 09e59aa02a783..08aac503a9de7 100644
--- a/libraries/pgtcl-ng/pgtcl-ng.SlackBuild
+++ b/libraries/pgtcl-ng/pgtcl-ng.SlackBuild
@@ -26,6 +26,8 @@
# Updated for Slackware 13.37 and pgtcl-ng 2.0.0 Dec 18, 2011
# Modified by Mario Preksavec <mario@slackware.hr>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pgtcl-ng
VERSION=${VERSION:-2.1.1}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}