lib.sh find_ex: explicitly create the tmp file

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-03 05:57:39 +01:00
parent 02d60aca30
commit e6687929b9
+1 -1
View File
@@ -141,7 +141,7 @@ fx_()
find_ex()
{
errx="$1" && shift 1
fd="`mktemp`"
fd="`mktemp`" && x_ rm -f "$fd" && x_ touch rm -f "$fd"
xx="$1" && shift 1
$errx find "$@" | sort > "$fd" || $err "!find $(echo "$@") > \"$fd\""
while read -r fx; do