mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
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>
This commit is contained in:
@@ -29,12 +29,6 @@ mktarball()
|
||||
x_ tar -c "$1" | xz -T$XBMK_THREADS -9e > "$2" || err "mktarball2, $1"
|
||||
}
|
||||
|
||||
rmgit()
|
||||
{
|
||||
fx_ "x_ rm -Rf" x_ find "$1" -name ".git"
|
||||
fx_ "x_ rm -Rf" x_ find "$1" -name ".gitmodules"
|
||||
}
|
||||
|
||||
e()
|
||||
{
|
||||
es_t="e" && [ $# -gt 1 ] && es_t="$2"
|
||||
|
||||
Reference in New Issue
Block a user