mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
download/u-boot: Remove support for deleting git folders
Removing the git dirs was part of deblobbing, which Libreboot no longer cares about. The variable that triggers it is no more. Remove the dead code. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
@@ -235,11 +235,6 @@ if [ $# -eq 0 ] ; then
|
||||
for board in $(list_supported_boards); do
|
||||
download_uboot_board "${board}"
|
||||
done
|
||||
|
||||
if [ "${deletegit}" = "true" ]; then
|
||||
rm -rf u-boot/u-boot/ u-boot/.git*
|
||||
fi
|
||||
|
||||
exit 0
|
||||
elif [ $# -eq 1 -a "$1" == "--help" ] ; then
|
||||
usage
|
||||
@@ -255,10 +250,6 @@ elif [ $# -eq 1 ] ; then
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "${deletegit}" = "true" ]; then
|
||||
rm -rf u-boot/u-boot/ u-boot/.git*
|
||||
fi
|
||||
|
||||
printf "Error: Board '${1}' is not supported\n"
|
||||
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user