summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0004-use-bash.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:13:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-06 16:14:14 +0000
commit8509c296607dcc30c0fe33d46d13dd73d8b72920 (patch)
treef33955687f3ae0f049ec6f85736ec09dba088ee4 /debian/patches/debian/0004-use-bash.patch
parentMerging upstream version 1.38.0. (diff)
downloadnetdata-8509c296607dcc30c0fe33d46d13dd73d8b72920.tar.xz
netdata-8509c296607dcc30c0fe33d46d13dd73d8b72920.zip
Refreshing use-bash.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian/0004-use-bash.patch')
-rw-r--r--debian/patches/debian/0004-use-bash.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/debian/0004-use-bash.patch b/debian/patches/debian/0004-use-bash.patch
new file mode 100644
index 000000000..182aa2131
--- /dev/null
+++ b/debian/patches/debian/0004-use-bash.patch
@@ -0,0 +1,13 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Using bash instead of sh for edit-config.
+ It reads /etc/profile which often contains bash specific configuration.
+
+diff -Naurp netdata.orig/system/edit-config netdata/system/edit-config
+--- netdata.orig/system/edit-config
++++ netdata/system/edit-config
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env sh
++#!/bin/bash
+
+ # shellcheck disable=SC1091
+ [ -f /etc/profile ] && . /etc/profile