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