aboutsummaryrefslogtreecommitdiff
path: root/development/sloccount/sloccount.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/sloccount/sloccount.SlackBuild')
-rw-r--r--development/sloccount/sloccount.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/sloccount/sloccount.SlackBuild b/development/sloccount/sloccount.SlackBuild
index d2d03bab6ac29..f9ed58e11d645 100644
--- a/development/sloccount/sloccount.SlackBuild
+++ b/development/sloccount/sloccount.SlackBuild
@@ -5,6 +5,8 @@
# Modified by the SlackBuilds.org project
# Updated for Slackware 13.0 by Heinz Wiesinger <pprkut@liwjatan.at>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sloccount
VERSION=${VERSION:-2.26}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}