summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-04 08:03:12 +0100
committerLeah Rowe <leah@libreboot.org>2025-10-04 08:03:12 +0100
commitefd1db1ca37019333df27ae3f37e019f3eb13376 (patch)
treeeca34a9c735d7e6fd5e95e666ea6aff50d161b97 /include
parentb4c7cac8a2f1a50542df723458da59e6063b6b89 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/release.sh b/include/release.sh
index a2eb28a6..3657f6af 100644
--- a/include/release.sh
+++ b/include/release.sh
@@ -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
}