summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0004-use-sh.patch
blob: 6c8e93bfbabe2114fe71e82dc4c0382509bfddb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
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: