mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04: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):
|
def vfat_correct_case(parent, name):
|
||||||
for candidate in os.listdir(parent):
|
for candidate in os.listdir(parent):
|
||||||
if name.lower() == candidate.lower():
|
if name.lower() == candidate.lower():
|
||||||
return candidate
|
return os.path.join(parent, candidate)
|
||||||
return os.path.join(parent, name)
|
return os.path.join(parent, name)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue