aboutsummaryrefslogtreecommitdiff
path: root/libraries/pgplot/pgplot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pgplot/pgplot.SlackBuild')
-rw-r--r--libraries/pgplot/pgplot.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/pgplot/pgplot.SlackBuild b/libraries/pgplot/pgplot.SlackBuild
index bb9fd9bf79160..1612ecfaa6e5e 100644
--- a/libraries/pgplot/pgplot.SlackBuild
+++ b/libraries/pgplot/pgplot.SlackBuild
@@ -30,6 +30,8 @@
#
# ---------------------------------------------------------------------------
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=pgplot
VERSION=${VERSION:-5.2.2}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}