diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-28 21:14:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-28 21:14:36 +0000 |
commit | 47891c8dac98554fa56bb8ac3e0f2142495529df (patch) | |
tree | 7f9265ea3747ef0627704800f005c7335607e10a /build/build.sh | |
parent | Adding upstream version 1.12.1. (diff) | |
download | netdata-47891c8dac98554fa56bb8ac3e0f2142495529df.tar.xz netdata-47891c8dac98554fa56bb8ac3e0f2142495529df.zip |
Adding upstream version 1.12.2.upstream/1.12.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/build.sh')
-rwxr-xr-x | build/build.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build/build.sh b/build/build.sh new file mode 100755 index 00000000..892a7da9 --- /dev/null +++ b/build/build.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +if [ ! -f .gitignore ]; then + echo "Run as ./travis/$(basename "$0") from top level directory of git repository" + exit 1 +fi + +if [ "$IS_CONTAINER" != "" ]; then + autoreconf -ivf + ./configure --enable-maintainer-mode + make dist + rm -rf autom4te.cache +else + docker run --rm -it \ + --env IS_CONTAINER=TRUE \ + --volume "${PWD}:/project:Z" \ + --workdir "/project" \ + netdata/builder:gcc \ + ./build/build.sh +fi |