bmhagui / power_up_tool

Task management and power saving for laptops.
1 stars 0 forks source link

Call mawk instead of awk #6

Closed rudametw closed 7 years ago

rudametw commented 7 years ago

Call mawk instead of awk because you use a very specific -W option that is apparently only available from mawk.

By calling awk you suppose that behind the scenes it's mawk, but in many cases it doesn't work. You should directly list mawk as a dependency and call it.

Also, this allows people to have different "awks" installed, such as in Arch where the default is gawk even when mawk is installed. This allows different defaults and while ensuring power_up_tool will work.