mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-19 21:20:31 +02:00
mk: redirect readlink err to /dev/null
i had this before. forgot to add it in the new design. oops. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -16,8 +16,8 @@ eval "`printf "LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE \
|
||||
|
||||
findpath()
|
||||
{
|
||||
eval "$(printf '%s\n' "$@" | awk '{printf \
|
||||
"readlink -f \"%s\" || realpath \"%s\" || return 1;\n", $0, $0}')"
|
||||
eval "$(printf '%s\n' "$@" | awk '{printf "readlink -f \"%s\" \
|
||||
2>/dev/null || realpath \"%s\" 2>/dev/null || return 1;",$0,$0}')"
|
||||
}
|
||||
|
||||
x_()
|
||||
|
||||
Reference in New Issue
Block a user