From: Wolfram Sang Date: Tue, 28 Apr 2020 07:13:15 +0000 (+0200) Subject: bash-completion: umount explicitly needs gawk X-Git-Tag: v2.36-rc1~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76f969fe6ff149c7748894dcf881218f84873d67;p=thirdparty%2Futil-linux.git bash-completion: umount explicitly needs gawk gensub() is a gawk extension, so use it explicitly. Otherwise users will get an error if their 'awk' defaults to something else. Fixes: 3ebfc8d37 ("bash-completion: umount support relative path and ~ as home shorthands") Signed-off-by: Wolfram Sang --- diff --git a/bash-completion/umount b/bash-completion/umount index 7fc2bd3765..0949688f93 100644 --- a/bash-completion/umount +++ b/bash-completion/umount @@ -51,7 +51,7 @@ _umount_module() local oldifs=$IFS IFS=$'\n' - COMPREPLY=( $( compgen -W "$(findmnt -lno TARGET | awk \ + COMPREPLY=( $( compgen -W "$(findmnt -lno TARGET | gawk \ '{ if ($0 ~ ENVIRON["HOME"]) { homeless = $0