aboutsummaryrefslogtreecommitdiff
path: root/network/cmdiag/cmdiag.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/cmdiag/cmdiag.SlackBuild')
-rw-r--r--network/cmdiag/cmdiag.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/cmdiag/cmdiag.SlackBuild b/network/cmdiag/cmdiag.SlackBuild
index cba2a8aad79c1..a398ccd3a9f2b 100644
--- a/network/cmdiag/cmdiag.SlackBuild
+++ b/network/cmdiag/cmdiag.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for cmdiag
# Written by Michal Bialozor <bialyy@o2.pl>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cmdiag
VERSION=${VERSION:-0.2}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}