aboutsummaryrefslogtreecommitdiff
path: root/system/ossec-server/ossec-server.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/ossec-server/ossec-server.SlackBuild')
-rw-r--r--system/ossec-server/ossec-server.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/ossec-server/ossec-server.SlackBuild b/system/ossec-server/ossec-server.SlackBuild
index e0b52581a9734..6a886167266a6 100644
--- a/system/ossec-server/ossec-server.SlackBuild
+++ b/system/ossec-server/ossec-server.SlackBuild
@@ -24,6 +24,8 @@
# Special thanks to Jason Graham for patches and testing
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ossec-server
VERSION=${VERSION:-3.6.0}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}