I am getting into
l3build for testing and installing my homegrown packages. It looks very useful. I hit a snag today when I put a bundle inside a directory that had a space in the name.
I keep all my source-controlled packages in repositories on github, and I check them out onto my local machine inside a
~/github directory. If I change the name of
~/git hub, the install script won't work anymore:
$ cd ~/git\ hub/mypkg $ l3build install --dry-run sh: line 0: export: `hub/mypkg/build/local:': not a valid identifier sh: /Users/matthew/git: No such file or directory
I don't know lua well enough to find exactly where this error comes from. But I can see that it's caused by a path with a space that's treated like two separate paths.
The obvious workaround is don't do that, and I'm open to changing my setup to guarantee no spaces in directory names. But I'd rather not—the directory in question is a Dropbox folder that's shared with somebody else, and if I change the name of the folder they might need to change some stuff too. Also, I'm a Mac user and I think it's pretty common practice to have folder names with spaces in them. So it would be nice if
l3build could work with that.