aboutsummaryrefslogtreecommitdiff
path: root/system/chronograf/chronograf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/chronograf/chronograf.SlackBuild')
-rw-r--r--system/chronograf/chronograf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/chronograf/chronograf.SlackBuild b/system/chronograf/chronograf.SlackBuild
index b26536c675cf5..a926ab97d28f0 100644
--- a/system/chronograf/chronograf.SlackBuild
+++ b/system/chronograf/chronograf.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=chronograf
VERSION=${VERSION:-1.9.0}
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}