From 71cf7f9db16310935481ea772b2bf1eb26376f3b Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Tue, 6 Dec 2022 19:44:58 +0300 Subject: 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 --- resources/scripts/download/u-boot | 9 --------- 1 file changed, 9 deletions(-) (limited to 'resources/scripts/download') diff --git a/resources/scripts/download/u-boot b/resources/scripts/download/u-boot index 5b6a160e..692f34bf 100755 --- a/resources/scripts/download/u-boot +++ b/resources/scripts/download/u-boot @@ -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 -- cgit v1.2.1