nand-sata-install: $DIR -> "$DIR"
This commit is contained in:
parent
188f474628
commit
7b515b8b88
@ -306,7 +306,7 @@ create_armbian()
|
||||
echo "Error: no u-boot package found, exiting"
|
||||
exit -1
|
||||
fi
|
||||
write_uboot_platform $DIR $emmccheck
|
||||
write_uboot_platform "$DIR" $emmccheck
|
||||
|
||||
fi
|
||||
|
||||
@ -710,7 +710,7 @@ main()
|
||||
;;
|
||||
5)
|
||||
show_warning "This script will update the bootloader on SD/eMMC. Continue?"
|
||||
write_uboot_platform $DIR ${root_partition_device}
|
||||
write_uboot_platform "$DIR" ${root_partition_device}
|
||||
update_bootscript
|
||||
dialog --backtitle "$backtitle" --title "Writing bootloader" --msgbox "\n Done." 7 30
|
||||
return
|
||||
@ -722,14 +722,14 @@ main()
|
||||
BOOTPART="/dev/mmcblk1"
|
||||
fi
|
||||
show_warning "This script will update the bootloader on $BOOTPART. Continue?"
|
||||
write_uboot_platform $DIR $BOOTPART
|
||||
write_uboot_platform "$DIR" $BOOTPART
|
||||
echo "Done"
|
||||
return
|
||||
;;
|
||||
7)
|
||||
MTD_BLK="/dev/${spicheck}"
|
||||
show_warning "This script will update the bootloader on SPI Flash $MTD_BLK. Continue?"
|
||||
write_uboot_platform_mtd $DIR $MTD_BLK
|
||||
write_uboot_platform_mtd "$DIR" $MTD_BLK
|
||||
update_bootscript
|
||||
echo "Done"
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user