git.sh: fix submodule path

i accidentally cloned to tmpdir rather than tmpgit

oops!

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2024-06-07 16:54:05 +01:00 committed by Leah Rowe
parent 7ac2264f53
commit a29cf274bc

View file

@ -125,7 +125,7 @@ fetch_submodule()
rm -Rf "$tmpgit/$1" || $err "!rm '$mdir' '$1'"
tmpclone "$subrepo" "$subrepo_bkup" "$tmpdir/$1" "$subrev" \
tmpclone "$subrepo" "$subrepo_bkup" "$tmpgit/$1" "$subrev" \
"$mdir/${1##*/}/patches"
}