diff --git a/.bin/Scripts/build-ufd b/.bin/Scripts/build-ufd index fff63363..bb0813a8 100755 --- a/.bin/Scripts/build-ufd +++ b/.bin/Scripts/build-ufd @@ -89,7 +89,7 @@ if __name__ == '__main__': ) # Update boot entries - + print_standard(' ') print_info('Boot Setup') try_and_print( indent=2, diff --git a/.bin/Scripts/functions/ufd.py b/.bin/Scripts/functions/ufd.py index 96b74b51..95a55b64 100644 --- a/.bin/Scripts/functions/ufd.py +++ b/.bin/Scripts/functions/ufd.py @@ -404,7 +404,7 @@ def update_boot_entries(boot_entries, boot_files, iso_label, ufd_label): cmd = [ 'sed', '--in-place', - '"s/#UFD-{}#//"'.format(b_comment), + 's/#{}#//'.format(b_comment), *configs, ] run_program(cmd, check=False)