diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2022-12-06 19:44:58 +0300 |
---|---|---|
committer | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2022-12-09 16:50:29 +0300 |
commit | 71cf7f9db16310935481ea772b2bf1eb26376f3b (patch) | |
tree | 97dd367a691bc492abed1a9cc3fc2d5a659ca90e | |
parent | 960af2d6e8d882d958d25333e7cab864877e37b5 (diff) |
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>
-rwxr-xr-x | resources/scripts/download/u-boot | 9 |
1 files changed, 0 insertions, 9 deletions
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 |