summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-12 19:20:50 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-12 19:20:50 +0100
commit92954eeb38f69ebc0cfef7b9629e96a1599667be (patch)
tree5028d748a8e858732542ed2699cec4b001c0bac5 /include/git.sh
parent05b5914b35492ddb4076873e0b6519396dfe92de (diff)
lib.sh: remove rmgit()
We don't need to call it from git.sh, because it's only being done when building a release anyway, and we already run rmgit when doing a release. The function itself is only two simple fx_ calls, so we can just do that from build_release(). Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/git.sh')
-rw-r--r--include/git.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/git.sh b/include/git.sh
index b65bd196..0091c832 100644
--- a/include/git.sh
+++ b/include/git.sh
@@ -57,9 +57,6 @@ git_prep()
dx_ fetch_submodule "$mdir/module.list"
fi
- [ "$_loc" != "$XBMK_CACHE/repo/$project" ] && \
- [ "$XBMK_RELEASE" = "y" ] && rmgit "$tmpgit"
-
[ "$_loc" = "${_loc%/*}" ] || x_ mkdir -p "${_loc%/*}"
x_ mv "$tmpgit" "$_loc"
}