mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
[bootloader] Fix vfat_correct_case.
If the directory already existed, vfat_correct_case was returning only the last part rather than the full path as it is supposed to.
This commit is contained in:
parent
0131d7fbf1
commit
62bded1447
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ def install_grub(efi_directory, fw_type):
|
|||
def vfat_correct_case(parent, name):
|
||||
for candidate in os.listdir(parent):
|
||||
if name.lower() == candidate.lower():
|
||||
return candidate
|
||||
return os.path.join(parent, candidate)
|
||||
return os.path.join(parent, name)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue