summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-04 09:17:23 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-04 09:17:23 +0100
commit3f7dc2a55f5b2273e73e17e4cec75faffe65740f (patch)
treef59d2a066b1e207d5f4f42ed4d87a455e99450ab /include
parent59c94664e3e3382375e79ee478fc68d3802d794a (diff)
lib.sh: rename errx to xmsg
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r--include/lib.sh4
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; :