aboutsummaryrefslogtreecommitdiff
path: root/development/flawfinder
diff options
context:
space:
mode:
Diffstat (limited to 'development/flawfinder')
-rw-r--r--development/flawfinder/flawfinder.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/flawfinder/flawfinder.SlackBuild b/development/flawfinder/flawfinder.SlackBuild
index 72e1f5d3b149a..034e0e828b29f 100644
--- a/development/flawfinder/flawfinder.SlackBuild
+++ b/development/flawfinder/flawfinder.SlackBuild
@@ -4,6 +4,8 @@
# Written by Andrzej Telszewski <atelszewski@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=flawfinder
VERSION=${VERSION:-1.27}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}