diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-04 09:17:23 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-05 12:18:22 +0100 |
commit | 2adaef73ac5ca8337a0c92eb0be9dedfb3c1375c (patch) | |
tree | a3a0b94123fbc6ed80fb2e48124dafafe2d9cac3 /include/lib.sh | |
parent | 44f1723c4f71a9509d79683d26b5a5c2b7b8f6dc (diff) |
lib.sh: rename errx to xmsg
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/lib.sh')
-rw-r--r-- | include/lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh index abf4de3b..b2888fb6 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -156,10 +156,10 @@ fx_() find_ex() { - errx="$1" && shift 1 + xmsg="$1" && shift 1 fd="`mktemp`" && x_ rm -f "$fd" && x_ touch "$fd" xx="$1" && shift 1 - $errx find "$@" 2>/dev/null | sort > "$fd" || \ + $xmsg find "$@" 2>/dev/null | sort > "$fd" || \ $err "!find $(echo "$@") > \"$fd\"" while read -r fx; do $xx "$fx" || break; : |