aboutsummaryrefslogtreecommitdiff
path: root/development/latrace/latrace.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/latrace/latrace.SlackBuild')
-rw-r--r--development/latrace/latrace.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/latrace/latrace.SlackBuild b/development/latrace/latrace.SlackBuild
index 1b0adefefddbb..6daaad16cc9fd 100644
--- a/development/latrace/latrace.SlackBuild
+++ b/development/latrace/latrace.SlackBuild
@@ -9,6 +9,8 @@
# Updated by Peter Wang <novalazy@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=latrace
VERSION=${VERSION:-0.5.11}
BUILD=${BUILD:-1}
@@ -22,7 +24,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}