]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
99memstrack: use /bin/bash
authorDaniel Molkentin <dmolkentin@suse.com>
Mon, 12 Oct 2020 11:49:46 +0000 (13:49 +0200)
committerDaniel Molkentin <daniel@molkentin.de>
Mon, 12 Oct 2020 12:05:09 +0000 (14:05 +0200)
/usr/local/bin causes trouble for distros that do not use /usr/bin == /bin
/usr/bin/env likewise, plus the use of env is not needed here

modules.d/99memstrack/memstrack-report.sh
modules.d/99memstrack/module-setup.sh

index 3de55bd105c5342e581654c88400321be4c6be19..0e7aa96d17b2c6eaebf4f5b3a3e38294dd65feb1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash
 . /lib/dracut-lib.sh
 
 if ! [ "$DEBUG_MEM_LEVEL" -ge 4 ]; then
index d5bacb4dfb5376eb52d13ac47c71b6a6cf97990d..45044d82c6f6371cd525f3843776fab3fd3cb6ed 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
 
 check() {
     if type -P memstrack >/dev/null; then