unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 6c8e93bfbabe2114fe71e82dc4c0382509bfddb6 535 bytes (raw)
name: gnu/packages/patches/netdata-0004-use-sh.patch 	 # note: path name is non-authoritative(*)

 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:

debug log:

solving 6c8e93bfba ...
found 6c8e93bfba in https://yhetil.org/guix-patches/20210211080944.11165-1-lle-bout@zaclys.net/

applying [1/1] https://yhetil.org/guix-patches/20210211080944.11165-1-lle-bout@zaclys.net/
diff --git a/gnu/packages/patches/netdata-0004-use-sh.patch b/gnu/packages/patches/netdata-0004-use-sh.patch
new file mode 100644
index 0000000000..6c8e93bfba

1:17: trailing whitespace.
 
Checking patch gnu/packages/patches/netdata-0004-use-sh.patch...
Applied patch gnu/packages/patches/netdata-0004-use-sh.patch cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 6c8e93bfbabe2114fe71e82dc4c0382509bfddb6	gnu/packages/patches/netdata-0004-use-sh.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).