summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0004-use-sh.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-10 12:30:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-02-10 14:04:07 +0000
commita4fa4dd5785fcafb1b87762c6874928b5b744df7 (patch)
treea4f1fdb066e576b40da4a1a862be9427bd32acfc /debian/patches/debian/0004-use-sh.patch
parentShamelessly adding myself in copyright. (diff)
downloadnetdata-a4fa4dd5785fcafb1b87762c6874928b5b744df7.tar.xz
netdata-a4fa4dd5785fcafb1b87762c6874928b5b744df7.zip
Sorting patches into comonly used subdirectories.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian/0004-use-sh.patch')
-rw-r--r--debian/patches/debian/0004-use-sh.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/debian/0004-use-sh.patch b/debian/patches/debian/0004-use-sh.patch
new file mode 100644
index 000000000..6c8e93bfb
--- /dev/null
+++ b/debian/patches/debian/0004-use-sh.patch
@@ -0,0 +1,12 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Fix shebang hack to not depend on bash.
+
+diff -Naurp netdata.orig/collectors/node.d.plugin/node.d.plugin.in netdata/collectors/node.d.plugin/node.d.plugin.in
+--- netdata.orig/collectors/node.d.plugin/node.d.plugin.in
++++ netdata/collectors/node.d.plugin/node.d.plugin.in
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env bash
++#!/bin/sh
+ ':' //; exec "$(command -v nodejs || command -v node || echo "ERROR node IS NOT AVAILABLE IN THIS SYSTEM")" "$0" "$@"
+
+ // shebang hack from: