mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
update/release: delete *all* .git and .gitmodules
do it using find -exec this is more robust, and it will never need to be maintained over time (famous last words). this is done because now we download submodules for all git projects, so it's hard to predict. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -91,9 +91,10 @@ fetch_trees()
|
||||
xp="${x#*/}"; xp="${xp%/*}"
|
||||
[ -L "${xp}" ] || x_ rm -Rf "src/${xp}/${xp}"
|
||||
done
|
||||
rm -Rf */.git* */*/.git* */*/*/.git* */*/*/*/.git* */*/*/*/*/.git* \
|
||||
*/*/*/*/*/*/.git* */*/*/*/*/*/*/.git* */*/*/*/*/*/*/*/.git* \
|
||||
*/*/*/*/*/*/*/*/*/.git* .git tmp || err "${_xm}: rm-dotgit"
|
||||
|
||||
find . -name ".git" -exec rm -Rf {} + || err "${_xm}: rm .git"
|
||||
find . -name ".gitmodules" -exec rm -Rf {} + || err "${_xm}: rm .gitmod"
|
||||
x_ rm -Rf tmp
|
||||
}
|
||||
|
||||
mkrom_images()
|
||||
|
||||
Reference in New Issue
Block a user