lib.sh: reduce indentation in setvars

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-11-15 16:55:27 +00:00
parent 214ed3efd2
commit 7ef7e02f73

View File

@@ -85,19 +85,16 @@ setvars()
_setvars=""
if [ $# -lt 2 ]; then
return 0
else
val="$1"
fi
val="$1"
shift 1
while [ $# -gt 0 ]; do
printf "%s=\"%s\"\n" "$1" "$val"
shift 1
done
fi
}
# return 0 if project is single-tree, otherwise 1