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:
Leah Rowe
2026-09-14 13:23:10 +01:00
parent e99be6e5dc
commit 08f93ec812
+2 -2
View File
@@ -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_()