Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /netdata/packaging/makeself/ drwxr-xr-x | |
| Viewing file: Select action/file-type: #!/usr/bin/env sh
# SPDX-License-Identifier: GPL-3.0-or-later
# -----------------------------------------------------------------------------
# parse command line arguments
set -e
export NETDATA_BUILD_WITH_DEBUG=0
while [ -n "${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.
cd "$(dirname "$0")" || exit 1
# if we don't run inside the netdata repo
# download it and run from it
if [ ! -f ../../netdata-installer.sh ]; then
git clone https://github.com/netdata/netdata.git netdata.git || exit 1
cd netdata.git/makeself || exit 1
./build.sh "$@"
exit $?
fi
git clean -dxf
cat >&2 << EOF
This program will create a self-extracting shell package containing
a statically linked netdata, able to run on any 64bit Linux system,
without any dependencies from the target system.
It can be used to have netdata running in no-time, or in cases the
target Linux system cannot compile netdata.
EOF
if [ ! -d tmp ]; then
mkdir tmp || exit 1
else
rm -rf tmp/*
fi
if ! ./run-all-jobs.sh "$@"; then
printf >&2 "Build failed."
exit 1
fi
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0053 ]-- |