aboutsummaryrefslogtreecommitdiff
path: root/system/influxdb/influxdb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/influxdb/influxdb.SlackBuild')
-rw-r--r--system/influxdb/influxdb.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/influxdb/influxdb.SlackBuild b/system/influxdb/influxdb.SlackBuild
index 54185b518610..915b26c50fc0 100644
--- a/system/influxdb/influxdb.SlackBuild
+++ b/system/influxdb/influxdb.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=influxdb
VERSION=${VERSION:-1.3.5}
BUILD=${BUILD:-1}
@@ -46,7 +48,6 @@ elif ! grep -q ^${PRGNAM}: /etc/passwd; then
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}