aboutsummaryrefslogtreecommitdiff
path: root/system/rkhunter/rkhunter.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/rkhunter/rkhunter.SlackBuild')
-rw-r--r--system/rkhunter/rkhunter.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/rkhunter/rkhunter.SlackBuild b/system/rkhunter/rkhunter.SlackBuild
index d8c3c16257e7a..7e6eda0e519d7 100644
--- a/system/rkhunter/rkhunter.SlackBuild
+++ b/system/rkhunter/rkhunter.SlackBuild
@@ -6,6 +6,8 @@
# Was maintained by Mr. B-o-B <mr dot chew dot baka at gmail dot com>
# Currently maintained by Gerardo Zamudio <gerardo.zamudio@linux.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rkhunter
VERSION=${VERSION:-1.4.6}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}