aboutsummaryrefslogtreecommitdiff
path: root/network/rspamd/rspamd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/rspamd/rspamd.SlackBuild')
-rw-r--r--network/rspamd/rspamd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/rspamd/rspamd.SlackBuild b/network/rspamd/rspamd.SlackBuild
index 5843c00d8cd2d..04e2dffe57669 100644
--- a/network/rspamd/rspamd.SlackBuild
+++ b/network/rspamd/rspamd.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rspamd
VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
@@ -46,7 +48,6 @@ elif ! getent passwd $PRGNAM; then
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}