aboutsummaryrefslogtreecommitdiff
path: root/development/fpc/fpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/fpc/fpc.SlackBuild')
-rw-r--r--development/fpc/fpc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/fpc/fpc.SlackBuild b/development/fpc/fpc.SlackBuild
index 32495f119925b..49d2f90837761 100644
--- a/development/fpc/fpc.SlackBuild
+++ b/development/fpc/fpc.SlackBuild
@@ -23,6 +23,8 @@
#
# Modified by the SlackBuilds.org project.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=fpc
VERSION=${VERSION:-3.0.4}
BINVERSION=${BINVERSION:-3.0.4}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}