summaryrefslogtreecommitdiffstats
path: root/network/irssi_otr/irssi_otr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/irssi_otr/irssi_otr.SlackBuild')
-rw-r--r--network/irssi_otr/irssi_otr.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/irssi_otr/irssi_otr.SlackBuild b/network/irssi_otr/irssi_otr.SlackBuild
index 29a27904d3..3ab3009e25 100644
--- a/network/irssi_otr/irssi_otr.SlackBuild
+++ b/network/irssi_otr/irssi_otr.SlackBuild
@@ -26,6 +26,8 @@
# - upstream switched from cmake to autoconf, rewrite most of script.
# - xchat support was dropped by upstream, so remove all references.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=irssi_otr
VERSION=${VERSION:-1.0.2}
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}