u-boot-libre: download: fix download with existing u-boot directory

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-08-03 02:42:56 +02:00
parent b9b224daa1
commit cf2ccb080e
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 0 additions and 6 deletions

View File

@ -45,12 +45,6 @@ supported_uboot_revisions=" \
downloadfor() { downloadfor() {
uboot_revision="$1" uboot_revision="$1"
uboot_dir="u-boot/u-boot" uboot_dir="u-boot/u-boot"
if [ -d "${uboot_dir}" ]; then
printf \
"REMARK: '%s' directory already exists. Skipping setup.\n" \
"${uboot_dir}"
return 0
fi
if [ ! -d "${uboot_dir}" ]; then if [ ! -d "${uboot_dir}" ]; then
mkdir -p "${uboot_dir}" mkdir -p "${uboot_dir}"