diff options
author | Leah Rowe <leah@libreboot.org> | 2025-04-26 10:56:47 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-04-26 11:30:32 +0100 |
commit | aba5b3a353222ac2dfee450181157c5750efe7fa (patch) | |
tree | 3cf8b51cc24cb3bbda1001661c0c74aa0e3cb0b7 /include/git.sh | |
parent | 0ab7c6ff9cf1eda98d005381fd99ce794be166c2 (diff) |
mk: simplify main()
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
-rw-r--r-- | include/git.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git.sh b/include/git.sh index 4fa904ba..cac0ceac 100644 --- a/include/git.sh +++ b/include/git.sh @@ -90,7 +90,7 @@ fetch_submodule() [ -z "$st" ] && return 0 # subrepo/subfile not defined chkvars "sub${st}" "sub${st}_bkup" "subhash" - [ "$st" = "file" ] && download "$subfile" "$subfile_bkup" \ + [ "$st" = "file" ] && xbmkget "$subfile" "$subfile_bkup" \ "$tmpgit/$1" "$subhash" && return 0 rm -Rf "$tmpgit/$1" || $err "!rm '$mdir' '$1'" tmpclone "$subrepo" "$subrepo_bkup" "$tmpgit/$1" "$subhash" \ |