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>fsdg20230625
parent
960af2d6e8
commit
71cf7f9db1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue