2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 02:52:07 +00:00

Ensure preservation of " if rename fails

If ent would swallow a ", make sure to put it back.
This commit is contained in:
Jarrod Johnson 2024-03-15 12:29:37 -04:00
parent 789376029d
commit bd2288ccb7

View File

@ -206,6 +206,8 @@ def fixup(rootdir, vols):
ent = convert_lv(ent)
if ent:
newline.append(ent)
elif '""' in ent:
newline.append('""')
else:
newline.append(ent)
defgrubout.write(' '.join(newline) + '\n')