diff options
Diffstat (limited to 'makeself/build.sh')
-rwxr-xr-x | makeself/build.sh | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/makeself/build.sh b/makeself/build.sh index 7896425d7..afa4f545e 100755 --- a/makeself/build.sh +++ b/makeself/build.sh @@ -1,6 +1,28 @@ #!/usr/bin/env sh -# First run setup-x86_64-static.sh under alpine linux to install +# ----------------------------------------------------------------------------- +# parse command line arguments + +export NETDATA_BUILD_WITH_DEBUG=0 + +while [ ! -z "${1}" ] +do + case "${1}" in + debug) + export NETDATA_BUILD_WITH_DEBUG=1 + ;; + + *) + ;; + esac + + shift +done + + +# ----------------------------------------------------------------------------- + +# First run install-alpine-packages.sh under alpine linux to install # the required packages. build-x86_64-static.sh will do this for you # using docker. |