summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Akritidis <43294513+cakrit@users.noreply.github.com>2019-01-22 10:22:45 +0100
committerGitHub <noreply@github.com>2019-01-22 10:22:45 +0100
commitb109030686e321e6b7f400891c809f6821039799 (patch)
treea013b47c6abf49882661414c7583293992776430
parentafefd8f5ecca07846f005ad20a4cfb529f4986fa (diff)
Pass correct options to the configure command (#5244)
Configure needs the options that `netdata-installer.sh` uses as well. Without them, we get problems with the paths in the .in scripts
-rwxr-xr-x.travis/create_artifacts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/create_artifacts.sh b/.travis/create_artifacts.sh
index e75ad092d0..ca0724e190 100755
--- a/.travis/create_artifacts.sh
+++ b/.travis/create_artifacts.sh
@@ -17,7 +17,7 @@ BASENAME="netdata-$(git describe)"
python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
echo "--- Create tarball ---"
autoreconf -ivf
-./configure
+./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-zlib --with-math --with-user=netdata CFLAGS=-O2
make dist
mv "${BASENAME}.tar.gz" artifacts/