aboutsummaryrefslogtreecommitdiff
path: root/libraries/agg/agg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/agg/agg.SlackBuild')
-rw-r--r--libraries/agg/agg.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/agg/agg.SlackBuild b/libraries/agg/agg.SlackBuild
index 18677ced9e4a5..d6de5251a405b 100644
--- a/libraries/agg/agg.SlackBuild
+++ b/libraries/agg/agg.SlackBuild
@@ -8,6 +8,8 @@
# Granted WTFPLv2, as published by Sam Hocevar dec'04.
# For details see http://sam.zoy.org/wtfpl/COPYING
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=agg
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-3}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}