summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-01-03 16:00:11 +0000
committerLeah Rowe <leah@libreboot.org>2025-01-03 16:00:11 +0000
commit432a1a5bca71dfc1b5e5f97240b84545fbe6d1fd (patch)
tree5170eea691db62baf4dd519041ca06d9423f99b6
parenta73b0fd910a249c60d25dce7ab289ab53a4a07df (diff)
lib.sh: Fix unescaped quotes in chkvars()
This should be the proper fix now Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lib.sh b/include/lib.sh
index 2b630797..857857d2 100644
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -40,7 +40,7 @@ setvars()
chkvars()
{
for var in "$@"; do
- eval "[ -n "\${$var+x}" ] || \$err \"$var unset\""
+ eval "[ -n \"\${$var+x}\" ] || \$err \"$var unset\""
eval "[ -n \"\$$var\" ] || \$err \"$var unset\""
done; return 0
}