|
|
5a8991e |
Fix shebang according to
|
|
|
5a8991e |
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shebang_lines
|
|
|
5a8991e |
|
|
|
53a411c |
diff -rup a/aclk/tests/fake-charts.d.plugin b/aclk/tests/fake-charts.d.plugin
|
|
|
e589c2d |
--- a/aclk/tests/fake-charts.d.plugin 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/aclk/tests/fake-charts.d.plugin 2020-07-02 09:18:04.171306197 +0200
|
|
|
53a411c |
@@ -1,4 +1,4 @@
|
|
|
53a411c |
-#!/usr/bin/env bash
|
|
|
53a411c |
+#!/usr/bin/bash
|
|
|
53a411c |
|
|
|
53a411c |
sleep 45 # Wait until popcorning finishes
|
|
|
53a411c |
|
|
|
53a411c |
diff -rup a/aclk/tests/install-fake-charts.d.sh.in b/aclk/tests/install-fake-charts.d.sh.in
|
|
|
e589c2d |
--- a/aclk/tests/install-fake-charts.d.sh.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/aclk/tests/install-fake-charts.d.sh.in 2020-07-02 09:18:04.174306213 +0200
|
|
|
53a411c |
@@ -1,4 +1,4 @@
|
|
|
53a411c |
-#!/usr/bin/env bash
|
|
|
53a411c |
+#!/usr/bin/bash
|
|
|
53a411c |
|
|
|
53a411c |
TARGET="@pluginsdir_POST@"
|
|
|
53a411c |
BASE="$(cd "$(dirname "$0")" && pwd)"
|
|
|
53a411c |
diff -rup a/aclk/tests/launch-paho.sh b/aclk/tests/launch-paho.sh
|
|
|
e589c2d |
--- a/aclk/tests/launch-paho.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/aclk/tests/launch-paho.sh 2020-07-02 09:18:04.173306207 +0200
|
|
|
53a411c |
@@ -1,4 +1,4 @@
|
|
|
53a411c |
-#!/usr/bin/env bash
|
|
|
53a411c |
+#!/usr/bin/bash
|
|
|
53a411c |
|
|
|
53a411c |
docker build -f paho.Dockerfile . --build-arg "HOST_HOSTNAME=$(ping -c1 "$(hostname).local" | head -n1 | grep -o '[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*')" -t paho-client
|
|
|
53a411c |
docker run -it paho-client
|
|
|
5a8991e |
diff -rup a/backends/nc-backend.sh b/backends/nc-backend.sh
|
|
|
e589c2d |
--- a/backends/nc-backend.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/backends/nc-backend.sh 2020-07-02 09:18:04.176306224 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
53a411c |
diff -rup a/build_external/bin/clean-install.sh b/build_external/bin/clean-install.sh
|
|
|
e589c2d |
--- a/build_external/bin/clean-install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/build_external/bin/clean-install.sh 2020-07-02 09:18:04.178306234 +0200
|
|
|
53a411c |
@@ -1,4 +1,4 @@
|
|
|
53a411c |
-#!/usr/bin/env bash
|
|
|
53a411c |
+#!/usr/bin/bash
|
|
|
53a411c |
|
|
|
53a411c |
DISTRO="$1"
|
|
|
53a411c |
VERSION="$2"
|
|
|
53a411c |
diff -rup a/build_external/bin/make-install.sh b/build_external/bin/make-install.sh
|
|
|
e589c2d |
--- a/build_external/bin/make-install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/build_external/bin/make-install.sh 2020-07-02 09:18:04.179306240 +0200
|
|
|
53a411c |
@@ -1,4 +1,4 @@
|
|
|
53a411c |
-#!/usr/bin/env bash
|
|
|
53a411c |
+#!/usr/bin/bash
|
|
|
53a411c |
|
|
|
53a411c |
DISTRO="$1"
|
|
|
53a411c |
VERSION="$2"
|
|
|
5a8991e |
diff -rup a/claim/netdata-claim.sh.in b/claim/netdata-claim.sh.in
|
|
|
e589c2d |
--- a/claim/netdata-claim.sh.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/claim/netdata-claim.sh.in 2020-07-02 09:18:04.181306251 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# netdata
|
|
|
5a8991e |
# real-time performance and health monitoring, done right!
|
|
|
5a8991e |
# (C) 2017 Costa Tsaousis <costa@tsaousis.gr>
|
|
|
5a8991e |
diff -rup a/collectors/cgroups.plugin/cgroup-name.sh.in b/collectors/cgroups.plugin/cgroup-name.sh.in
|
|
|
e589c2d |
--- a/collectors/cgroups.plugin/cgroup-name.sh.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/cgroups.plugin/cgroup-name.sh.in 2020-07-02 09:18:04.197306337 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
#shellcheck disable=SC2001
|
|
|
5a8991e |
|
|
|
5a8991e |
# netdata
|
|
|
5a8991e |
diff -rup a/collectors/cgroups.plugin/cgroup-network-helper.sh b/collectors/cgroups.plugin/cgroup-network-helper.sh
|
|
|
e589c2d |
--- a/collectors/cgroups.plugin/cgroup-network-helper.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/cgroups.plugin/cgroup-network-helper.sh 2020-07-02 09:18:04.195306326 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# shellcheck disable=SC1117
|
|
|
5a8991e |
|
|
|
5a8991e |
# cgroup-network-helper.sh
|
|
|
5a8991e |
diff -rup a/collectors/charts.d.plugin/charts.d.dryrun-helper.sh b/collectors/charts.d.plugin/charts.d.dryrun-helper.sh
|
|
|
e589c2d |
--- a/collectors/charts.d.plugin/charts.d.dryrun-helper.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/charts.d.plugin/charts.d.dryrun-helper.sh 2020-07-02 09:18:04.189306294 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
# shellcheck disable=SC2181
|
|
|
5a8991e |
diff -rup a/collectors/charts.d.plugin/charts.d.plugin.in b/collectors/charts.d.plugin/charts.d.plugin.in
|
|
|
e589c2d |
--- a/collectors/charts.d.plugin/charts.d.plugin.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/charts.d.plugin/charts.d.plugin.in 2020-07-02 09:18:04.191306304 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
# netdata
|
|
|
5a8991e |
diff -rup a/collectors/fping.plugin/fping.plugin.in b/collectors/fping.plugin/fping.plugin.in
|
|
|
e589c2d |
--- a/collectors/fping.plugin/fping.plugin.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/fping.plugin/fping.plugin.in 2020-07-02 09:18:04.183306261 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
# netdata
|
|
|
5a8991e |
diff -rup a/collectors/ioping.plugin/ioping.plugin.in b/collectors/ioping.plugin/ioping.plugin.in
|
|
|
e589c2d |
--- a/collectors/ioping.plugin/ioping.plugin.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/ioping.plugin/ioping.plugin.in 2020-07-02 09:18:04.187306283 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
# netdata
|
|
|
5a8991e |
diff -rup a/collectors/node.d.plugin/node.d.plugin.in b/collectors/node.d.plugin/node.d.plugin.in
|
|
|
e589c2d |
--- a/collectors/node.d.plugin/node.d.plugin.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/node.d.plugin/node.d.plugin.in 2020-07-02 09:18:04.199306348 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
':' //; exec "$(command -v nodejs || command -v node || echo "ERROR node IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@"
|
|
|
5a8991e |
|
|
|
5a8991e |
// shebang hack from:
|
|
|
5a8991e |
diff -rup a/collectors/python.d.plugin/python.d.plugin.in b/collectors/python.d.plugin/python.d.plugin.in
|
|
|
e589c2d |
--- a/collectors/python.d.plugin/python.d.plugin.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/python.d.plugin/python.d.plugin.in 2020-07-02 09:18:04.194306321 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
'''':;
|
|
|
5a8991e |
pybinary=$(which python || which python3 || which python2)
|
|
|
5a8991e |
filtered=()
|
|
|
5a8991e |
diff -rup a/collectors/python.d.plugin/python_modules/third_party/boinc_client.py b/collectors/python.d.plugin/python_modules/third_party/boinc_client.py
|
|
|
e589c2d |
--- a/collectors/python.d.plugin/python_modules/third_party/boinc_client.py 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/python.d.plugin/python_modules/third_party/boinc_client.py 2020-07-02 09:18:04.313306962 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env python
|
|
|
5a8991e |
+#
|
|
|
5a8991e |
# -*- coding: utf-8 -*-
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# client.py - Somewhat higher-level GUI_RPC API for BOINC core client
|
|
|
5a8991e |
diff -rup a/collectors/tc.plugin/tc-qos-helper.sh.in b/collectors/tc.plugin/tc-qos-helper.sh.in
|
|
|
e589c2d |
--- a/collectors/tc.plugin/tc-qos-helper.sh.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/collectors/tc.plugin/tc-qos-helper.sh.in 2020-07-02 09:18:04.186306278 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# netdata
|
|
|
5a8991e |
# real-time performance and health monitoring, done right!
|
|
|
5a8991e |
diff -rup a/contrib/debian/install_go.sh b/contrib/debian/install_go.sh
|
|
|
e589c2d |
--- a/contrib/debian/install_go.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/contrib/debian/install_go.sh 2020-07-02 09:18:04.205306380 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
GO_PACKAGE_VERSION="$1"
|
|
|
5a8991e |
LIB_DIR="$2"
|
|
|
5a8991e |
diff -rup a/contrib/rhel/build-netdata-rpm.sh b/contrib/rhel/build-netdata-rpm.sh
|
|
|
e589c2d |
--- a/contrib/rhel/build-netdata-rpm.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/contrib/rhel/build-netdata-rpm.sh 2020-07-02 09:18:04.201306358 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# docker run -it --rm centos:6.9 /bin/sh
|
|
|
5a8991e |
# yum -y install rpm-build redhat-rpm-config yum-utils autoconf automake curl gcc git libmnl-devel libuuid-devel make pkgconfig zlib-devel
|
|
|
5a8991e |
diff -rup a/contrib/sles11/alarm-notify-basic.bash3.sh b/contrib/sles11/alarm-notify-basic.bash3.sh
|
|
|
e589c2d |
--- a/contrib/sles11/alarm-notify-basic.bash3.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/contrib/sles11/alarm-notify-basic.bash3.sh 2020-07-02 09:18:04.203306369 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# basic version of netdata notifier to work with bash3
|
|
|
5a8991e |
# only mail and syslog destinations are supported, one recipient each
|
|
|
5a8991e |
diff -rup a/coverity-scan.sh b/coverity-scan.sh
|
|
|
e589c2d |
--- a/coverity-scan.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/coverity-scan.sh 2020-07-02 09:18:04.207306391 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# Coverity scan script
|
|
|
5a8991e |
#
|
|
|
5a8991e |
diff -rup a/cppcheck.sh b/cppcheck.sh
|
|
|
e589c2d |
--- a/cppcheck.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/cppcheck.sh 2020-07-02 09:18:04.208306396 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# echo >>/tmp/cppcheck.log "cppcheck ${*}"
|
|
|
5a8991e |
|
|
|
5a8991e |
diff -rup a/daemon/anonymous-statistics.sh.in b/daemon/anonymous-statistics.sh.in
|
|
|
e589c2d |
--- a/daemon/anonymous-statistics.sh.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/daemon/anonymous-statistics.sh.in 2020-07-02 09:18:04.270306730 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env sh
|
|
|
5a8991e |
+#!/usr/bin/sh
|
|
|
5a8991e |
|
|
|
5a8991e |
# Valid actions:
|
|
|
5a8991e |
|
|
|
5a8991e |
diff -rup a/daemon/get-kubernetes-labels.sh.in b/daemon/get-kubernetes-labels.sh.in
|
|
|
e589c2d |
--- a/daemon/get-kubernetes-labels.sh.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/daemon/get-kubernetes-labels.sh.in 2020-07-02 09:18:04.210306407 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# Checks if netdata is running in a kubernetes pod and fetches that pod's labels
|
|
|
5a8991e |
|
|
|
5a8991e |
diff -rup a/daemon/system-info.sh b/daemon/system-info.sh
|
|
|
e589c2d |
--- a/daemon/system-info.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/daemon/system-info.sh 2020-07-02 09:18:04.272306741 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env sh
|
|
|
5a8991e |
+#!/usr/bin/sh
|
|
|
5a8991e |
|
|
|
5a8991e |
# -------------------------------------------------------------------------------------------------
|
|
|
5a8991e |
# detect the kernel
|
|
|
5a8991e |
diff -rup a/diagrams/build.sh b/diagrams/build.sh
|
|
|
e589c2d |
--- a/diagrams/build.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/diagrams/build.sh 2020-07-02 09:18:04.211306412 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
path=$(dirname "$0")
|
|
|
e589c2d |
diff -rup a/exporting/nc-exporting.sh b/exporting/nc-exporting.sh
|
|
|
e589c2d |
--- a/exporting/nc-exporting.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/exporting/nc-exporting.sh 2020-07-02 09:18:04.213306423 +0200
|
|
|
e589c2d |
@@ -1,4 +1,4 @@
|
|
|
e589c2d |
-#!/usr/bin/env bash
|
|
|
e589c2d |
+#!/usr/bin/bash
|
|
|
e589c2d |
|
|
|
e589c2d |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
e589c2d |
|
|
|
5a8991e |
diff -rup a/health/notifications/alarm-email.sh b/health/notifications/alarm-email.sh
|
|
|
e589c2d |
--- a/health/notifications/alarm-email.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/health/notifications/alarm-email.sh 2020-07-02 09:18:04.216306439 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
# OBSOLETE - REPLACED WITH
|
|
|
5a8991e |
diff -rup a/health/notifications/alarm-notify.sh.in b/health/notifications/alarm-notify.sh.in
|
|
|
e589c2d |
--- a/health/notifications/alarm-notify.sh.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/health/notifications/alarm-notify.sh.in 2020-07-02 09:18:04.221306466 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
#shellcheck source=/dev/null disable=SC2086,SC2154
|
|
|
5a8991e |
|
|
|
5a8991e |
# netdata
|
|
|
5a8991e |
diff -rup a/health/notifications/alarm-test.sh b/health/notifications/alarm-test.sh
|
|
|
e589c2d |
--- a/health/notifications/alarm-test.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/health/notifications/alarm-test.sh 2020-07-02 09:18:04.215306434 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# netdata
|
|
|
5a8991e |
# real-time performance and health monitoring, done right!
|
|
|
5a8991e |
diff -rup a/netdata-installer.sh b/netdata-installer.sh
|
|
|
e589c2d |
--- a/netdata-installer.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/netdata-installer.sh 2020-07-02 09:18:04.224306482 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
# shellcheck disable=SC2046,SC2086,SC2166
|
|
|
e589c2d |
diff -rup a/packaging/check-kernel-config.sh b/packaging/check-kernel-config.sh
|
|
|
e589c2d |
--- a/packaging/check-kernel-config.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/check-kernel-config.sh 2020-07-02 09:18:04.263306692 +0200
|
|
|
e589c2d |
@@ -1,4 +1,4 @@
|
|
|
e589c2d |
-#!/usr/bin/env bash
|
|
|
e589c2d |
+#!/usr/bin/bash
|
|
|
e589c2d |
|
|
|
e589c2d |
get_kernel_version() {
|
|
|
e589c2d |
r="$(uname -r | cut -f 1 -d '-')"
|
|
|
5a8991e |
diff -rup a/packaging/docker/build.sh b/packaging/docker/build.sh
|
|
|
e589c2d |
--- a/packaging/docker/build.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/docker/build.sh 2020-07-02 09:18:04.240306568 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
#
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# Copyright: SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
diff -rup a/packaging/docker/check_login.sh b/packaging/docker/check_login.sh
|
|
|
e589c2d |
--- a/packaging/docker/check_login.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/docker/check_login.sh 2020-07-02 09:18:04.242306579 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# This is a credential checker script, to help get early input on docker credentials status
|
|
|
5a8991e |
# If these are wrong, then build/publish has no point running
|
|
|
5a8991e |
diff -rup a/packaging/docker/publish.sh b/packaging/docker/publish.sh
|
|
|
e589c2d |
--- a/packaging/docker/publish.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/docker/publish.sh 2020-07-02 09:18:04.238306557 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# Cross-arch docker publish helper script
|
|
|
5a8991e |
# Needs docker in version >18.02 due to usage of manifests
|
|
|
5a8991e |
diff -rup a/packaging/docker/run.sh b/packaging/docker/run.sh
|
|
|
e589c2d |
--- a/packaging/docker/run.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/docker/run.sh 2020-07-02 09:18:04.237306552 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# Entry point script for netdata
|
|
|
5a8991e |
#
|
|
|
5a8991e |
diff -rup a/packaging/installer/install-required-packages.sh b/packaging/installer/install-required-packages.sh
|
|
|
e589c2d |
--- a/packaging/installer/install-required-packages.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/installer/install-required-packages.sh 2020-07-02 09:18:04.231306520 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
53a411c |
# shellcheck disable=SC2034
|
|
|
53a411c |
# We use lots of computed variable names in here, so we need to disable shellcheck 2034
|
|
|
5a8991e |
|
|
|
5a8991e |
diff -rup a/packaging/installer/kickstart.sh b/packaging/installer/kickstart.sh
|
|
|
e589c2d |
--- a/packaging/installer/kickstart.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/installer/kickstart.sh 2020-07-02 09:18:04.276306762 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env sh
|
|
|
5a8991e |
+#!/usr/bin/sh
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# Run me with:
|
|
|
5a8991e |
diff -rup a/packaging/installer/kickstart-static64.sh b/packaging/installer/kickstart-static64.sh
|
|
|
e589c2d |
--- a/packaging/installer/kickstart-static64.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/installer/kickstart-static64.sh 2020-07-02 09:18:04.274306752 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env sh
|
|
|
5a8991e |
+#!/usr/bin/sh
|
|
|
5a8991e |
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
# shellcheck disable=SC1117,SC2039,SC2059,SC2086
|
|
|
5a8991e |
diff -rup a/packaging/installer/netdata-uninstaller.sh b/packaging/installer/netdata-uninstaller.sh
|
|
|
e589c2d |
--- a/packaging/installer/netdata-uninstaller.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/installer/netdata-uninstaller.sh 2020-07-02 09:18:04.235306541 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# This is the netdata uninstaller script
|
|
|
5a8991e |
#
|
|
|
5a8991e |
diff -rup a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh
|
|
|
e589c2d |
--- a/packaging/installer/netdata-updater.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/installer/netdata-updater.sh 2020-07-02 09:18:04.233306531 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# Netdata updater utility
|
|
|
5a8991e |
#
|
|
|
5a8991e |
diff -rup a/packaging/makeself/build.sh b/packaging/makeself/build.sh
|
|
|
e589c2d |
--- a/packaging/makeself/build.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/build.sh 2020-07-02 09:18:04.278306773 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env sh
|
|
|
5a8991e |
+#!/usr/bin/sh
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
# -----------------------------------------------------------------------------
|
|
|
5a8991e |
diff -rup a/packaging/makeself/build-x86_64-static.sh b/packaging/makeself/build-x86_64-static.sh
|
|
|
e589c2d |
--- a/packaging/makeself/build-x86_64-static.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/build-x86_64-static.sh 2020-07-02 09:18:04.243306584 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
diff -rup a/packaging/makeself/functions.sh b/packaging/makeself/functions.sh
|
|
|
e589c2d |
--- a/packaging/makeself/functions.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/functions.sh 2020-07-02 09:18:04.262306687 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
# -----------------------------------------------------------------------------
|
|
|
5a8991e |
diff -rup a/packaging/makeself/install-alpine-packages.sh b/packaging/makeself/install-alpine-packages.sh
|
|
|
e589c2d |
--- a/packaging/makeself/install-alpine-packages.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/install-alpine-packages.sh 2020-07-02 09:18:04.279306778 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env sh
|
|
|
5a8991e |
+#!/usr/bin/sh
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# Installation script for the alpine host
|
|
|
5a8991e |
# to prepare the static binary
|
|
|
5a8991e |
diff -rup a/packaging/makeself/install-or-update.sh b/packaging/makeself/install-or-update.sh
|
|
|
e589c2d |
--- a/packaging/makeself/install-or-update.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/install-or-update.sh 2020-07-02 09:18:04.260306676 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
5a8991e |
diff -rup a/packaging/makeself/jobs/10-prepare-destination.install.sh b/packaging/makeself/jobs/10-prepare-destination.install.sh
|
|
|
e589c2d |
--- a/packaging/makeself/jobs/10-prepare-destination.install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/jobs/10-prepare-destination.install.sh 2020-07-02 09:18:04.247306606 +0200
|
|
|
e589c2d |
@@ -1,4 +1,4 @@
|
|
|
e589c2d |
-#!/usr/bin/env bash
|
|
|
e589c2d |
+#!/usr/bin/bash
|
|
|
e589c2d |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
e589c2d |
|
|
|
e589c2d |
# shellcheck source=packaging/makeself/functions.sh
|
|
|
e589c2d |
diff -rup a/packaging/makeself/jobs/20-openssl.install.sh b/packaging/makeself/jobs/20-openssl.install.sh
|
|
|
e589c2d |
--- a/packaging/makeself/jobs/20-openssl.install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/jobs/20-openssl.install.sh 2020-07-02 09:18:04.250306622 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
e589c2d |
# shellcheck source=packaging/makeself/functions.sh
|
|
|
5a8991e |
diff -rup a/packaging/makeself/jobs/50-bash-4.4.18.install.sh b/packaging/makeself/jobs/50-bash-4.4.18.install.sh
|
|
|
e589c2d |
--- a/packaging/makeself/jobs/50-bash-4.4.18.install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/jobs/50-bash-4.4.18.install.sh 2020-07-02 09:18:04.258306665 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
e589c2d |
# shellcheck source=packaging/makeself/functions.sh
|
|
|
5a8991e |
diff -rup a/packaging/makeself/jobs/50-curl-7.60.0.install.sh b/packaging/makeself/jobs/50-curl-7.60.0.install.sh
|
|
|
e589c2d |
--- a/packaging/makeself/jobs/50-curl-7.60.0.install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/jobs/50-curl-7.60.0.install.sh 2020-07-02 09:18:04.253306638 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
e589c2d |
# shellcheck source=packaging/makeself/functions.sh
|
|
|
5a8991e |
diff -rup a/packaging/makeself/jobs/50-fping-4.2.install.sh b/packaging/makeself/jobs/50-fping-4.2.install.sh
|
|
|
e589c2d |
--- a/packaging/makeself/jobs/50-fping-4.2.install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/jobs/50-fping-4.2.install.sh 2020-07-02 09:18:04.255306649 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
e589c2d |
# shellcheck source=packaging/makeself/functions.sh
|
|
|
5a8991e |
diff -rup a/packaging/makeself/jobs/50-ioping-1.1.install.sh b/packaging/makeself/jobs/50-ioping-1.1.install.sh
|
|
|
e589c2d |
--- a/packaging/makeself/jobs/50-ioping-1.1.install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/jobs/50-ioping-1.1.install.sh 2020-07-02 09:18:04.248306611 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
e589c2d |
# shellcheck source=packaging/makeself/functions.sh
|
|
|
5a8991e |
diff -rup a/packaging/makeself/jobs/70-netdata-git.install.sh b/packaging/makeself/jobs/70-netdata-git.install.sh
|
|
|
e589c2d |
--- a/packaging/makeself/jobs/70-netdata-git.install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/jobs/70-netdata-git.install.sh 2020-07-02 09:18:04.256306655 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
e589c2d |
# shellcheck source=./packaging/makeself/functions.sh
|
|
|
5a8991e |
diff -rup a/packaging/makeself/jobs/99-makeself.install.sh b/packaging/makeself/jobs/99-makeself.install.sh
|
|
|
e589c2d |
--- a/packaging/makeself/jobs/99-makeself.install.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/jobs/99-makeself.install.sh 2020-07-02 09:18:04.252306633 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
e589c2d |
# shellcheck source=packaging/makeself/functions.sh
|
|
|
5a8991e |
diff -rup a/packaging/makeself/run-all-jobs.sh b/packaging/makeself/run-all-jobs.sh
|
|
|
e589c2d |
--- a/packaging/makeself/run-all-jobs.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/packaging/makeself/run-all-jobs.sh 2020-07-02 09:18:04.245306595 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
5a8991e |
|
|
|
e589c2d |
set -e
|
|
|
5a8991e |
diff -rup a/system/edit-config.in b/system/edit-config.in
|
|
|
e589c2d |
--- a/system/edit-config.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/system/edit-config.in 2020-07-02 09:18:04.281306789 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env sh
|
|
|
5a8991e |
+#!/usr/bin/sh
|
|
|
5a8991e |
|
|
|
5a8991e |
[ -f /etc/profile ] && . /etc/profile
|
|
|
5a8991e |
|
|
|
5a8991e |
diff -rup a/system/netdata-lsb.in b/system/netdata-lsb.in
|
|
|
e589c2d |
--- a/system/netdata-lsb.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/system/netdata-lsb.in 2020-07-02 09:18:04.265306703 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# Netdata LSB start script
|
|
|
5a8991e |
#
|
|
|
5a8991e |
diff -rup a/tests/health_mgmtapi/health-cmdapi-test.sh.in b/tests/health_mgmtapi/health-cmdapi-test.sh.in
|
|
|
e589c2d |
--- a/tests/health_mgmtapi/health-cmdapi-test.sh.in 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/tests/health_mgmtapi/health-cmdapi-test.sh.in 2020-07-02 09:18:04.267306714 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env bash
|
|
|
5a8991e |
+#!/usr/bin/bash
|
|
|
5a8991e |
# shellcheck disable=SC1117,SC2034,SC2059,SC2086,SC2181
|
|
|
5a8991e |
|
|
|
5a8991e |
NETDATA_VARLIB_DIR="@varlibdir_POST@"
|
|
|
53a411c |
diff -rup a/tests/run-unit-tests.sh b/tests/run-unit-tests.sh
|
|
|
e589c2d |
--- a/tests/run-unit-tests.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/tests/run-unit-tests.sh 2020-07-02 09:18:04.269306725 +0200
|
|
|
53a411c |
@@ -1,4 +1,4 @@
|
|
|
53a411c |
-#!/usr/bin/env bash
|
|
|
53a411c |
+#!/usr/bin/bash
|
|
|
53a411c |
#
|
|
|
53a411c |
# Unit-testing script
|
|
|
53a411c |
#
|
|
|
5a8991e |
diff -rup a/tests/updater_checks.sh b/tests/updater_checks.sh
|
|
|
e589c2d |
--- a/tests/updater_checks.sh 2020-07-01 14:37:38.000000000 +0200
|
|
|
e589c2d |
+++ b/tests/updater_checks.sh 2020-07-02 09:18:04.283306800 +0200
|
|
|
5a8991e |
@@ -1,4 +1,4 @@
|
|
|
5a8991e |
-#!/usr/bin/env sh
|
|
|
5a8991e |
+#!/usr/bin/sh
|
|
|
5a8991e |
#
|
|
|
5a8991e |
# Wrapper script that installs the required dependencies
|
|
|
5a8991e |
# for the BATS script to run successfully
|