simplify initialising variables in shell scripts

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-09-30 18:41:57 +01:00
parent 49b266eb42
commit 0a0defd325
10 changed files with 51 additions and 122 deletions
+1 -6
View File
@@ -8,13 +8,8 @@
. "include/git.sh"
. "include/option.sh"
name=""
rev=""
loc=""
url=""
bkup_url=""
eval "$(setvars "" name rev loc url bkup_url depend)"
tmp_dir="${PWD}/tmp/gitclone"
depend=""
main()
{