Comment 2 for bug 433910

Revision history for this message
caludo (b-l-e-y) wrote :

Hi.

There's still a problem with spaces in the mounted/20microsoft script because of missing quotes.

------ snip ----
# MS-DOS
elif [ -d "$(item_in_dir dos $2)" ]; then
------ snip ----

Running "sudo os-prober" with an partition mounted on e.g. /media/foo bar" results in

ls: cannot access /media/foo: No such file or directory

You need to add quotes around the $2 variable in order to get this to work.

Regards.