kiss-stj

My KISS Linux repo for software I use on my computers.
git clone https://git.stjo.hn/kiss-stj
Log | Files | Refs | README | LICENSE

commit 8e52bb4b9b8388951e3bb1de785ad5b5f597fd66
parent 95b2fab4946c6f947eef9c3d233cb3045705361a
Author: St John Karp <contact@stjo.hn>
Date:   Tue,  7 Jun 2022 04:08:38 -0400

tlp: Remove the non-standard -m flag for grep

TLP invokes grep a couple of times with the -m flag, which is not
part of the POSIX standard.

Diffstat:
Mextra/tlp/build | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/extra/tlp/build b/extra/tlp/build @@ -4,5 +4,9 @@ sed 's/FLOCK -x -w $LOCKTIMEOUT/FLOCK -x/' tlp-func-base.in > _ mv -f _ tlp-func-base.in +# The -m flag is not standard for grep. +sed 's/grep -E -q -m 1/grep -E -q/' func.d/10-tlp-func-cpu > _ +mv -f _ func.d/10-tlp-func-cpu + make install make install-man