diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-30 18:41:57 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-30 19:09:25 +0100 |
commit | 0a0defd3256ff5e29e3b4d129a04fb7546bc31ac (patch) | |
tree | 479d686f0578b506dbe3f862300e73c090ed8bcc /script/update/project/repo | |
parent | 49b266eb4248f87d111e9babae86a873300afa03 (diff) |
simplify initialising variables in shell scripts
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/project/repo')
-rwxr-xr-x | script/update/project/repo | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/script/update/project/repo b/script/update/project/repo index 4695b52b..c0cec1b6 100755 --- a/script/update/project/repo +++ b/script/update/project/repo @@ -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() { |