mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 15:29:35 +02:00
lib.sh: rename errx to xmsg
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-2
@@ -156,10 +156,10 @@ fx_()
|
|||||||
|
|
||||||
find_ex()
|
find_ex()
|
||||||
{
|
{
|
||||||
errx="$1" && shift 1
|
xmsg="$1" && shift 1
|
||||||
fd="`mktemp`" && x_ rm -f "$fd" && x_ touch "$fd"
|
fd="`mktemp`" && x_ rm -f "$fd" && x_ touch "$fd"
|
||||||
xx="$1" && shift 1
|
xx="$1" && shift 1
|
||||||
$errx find "$@" 2>/dev/null | sort > "$fd" || \
|
$xmsg find "$@" 2>/dev/null | sort > "$fd" || \
|
||||||
$err "!find $(echo "$@") > \"$fd\""
|
$err "!find $(echo "$@") > \"$fd\""
|
||||||
while read -r fx; do
|
while read -r fx; do
|
||||||
$xx "$fx" || break; :
|
$xx "$fx" || break; :
|
||||||
|
|||||||
Reference in New Issue
Block a user