From c7191c291b318c93b4db058b7ff820cb7dc44cc7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 28 Feb 2019 22:16:49 +0100 Subject: Merging upstream version 1.12.2. Signed-off-by: Daniel Baumann --- build/build.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 build/build.sh (limited to 'build') diff --git a/build/build.sh b/build/build.sh new file mode 100755 index 000000000..892a7da98 --- /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 -- cgit v1.2.3