summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0004-use-bash.patch
diff options
context:
space:
mode:
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 00000000..182aa213
--- /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