aboutsummaryrefslogtreecommitdiff
path: root/system/kafka/kafka.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/kafka/kafka.SlackBuild')
-rw-r--r--system/kafka/kafka.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/kafka/kafka.SlackBuild b/system/kafka/kafka.SlackBuild
index 3d0237885e602..d020b2a5f54b2 100644
--- a/system/kafka/kafka.SlackBuild
+++ b/system/kafka/kafka.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=kafka
VERSION=${VERSION:-0.11.0.0}
SCALA_VERSION=2.12
@@ -60,7 +62,6 @@ elif ! grep -q "^$KAFKA_GROUP:" /etc/group; then
bailout
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}