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:
parent
b9b224daa1
commit
cf2ccb080e
|
@ -45,12 +45,6 @@ supported_uboot_revisions=" \
|
|||
downloadfor() {
|
||||
uboot_revision="$1"
|
||||
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
|
||||
mkdir -p "${uboot_dir}"
|
||||
|
|
Loading…
Reference in New Issue