-
Notifications
You must be signed in to change notification settings - Fork 17
Description
I'm trying to build luabuild on my Mac, which (due to multiboot) places my home directory at '/Volumes/Macintosh HD/Users/gary' (note the space)... causing it to fail when calling ar. I managed to get it working by naively adding single quotes to the rules in the lake source it comes with, but wanted to make a pull-request for something more robust...
But, internally, file lists are stored as space separated lists, and so only some global variable substitutions should check for metacharacters and self-quote on expansion. Along similar lines quote_if_necessary only checks for spaces, and not other active characters that can confuse the shell.
Also, I don't have (or want) access to Windows, so I have no idea on what the right approach would be so that a patch doesn't break things there.
How do you think I should proceed?