release.sh: remove eval statement in nuke()

the symlink check is what made me use eval, but the
symlink check is not required, since i check every
entry that goes in nuke.list anyway.

not having that symlink check is safer than having
an eval statement on that line.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-10-04 08:03:12 +01:00
parent b4c7cac8a2
commit efd1db1ca3
+1 -1
View File
@@ -92,7 +92,7 @@ nuke()
if [ -d "${r%/*}" ]; then
x_ cd "${r%/*}"
dx_ "eval [ -L \"\$fx\" ] || x_ rm -Rf" "$rsrc/$1"
dx_ "x_ rm -Rf" "$rsrc/$1"
fi
}