Comment 3 for bug 152856

Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

The fix is unbelievably simple.

Patch attached and here's the change.. a one liner, simply add the following line immediately after it reads the filename from the command line (args[0]). The line replaces a space with '\ ' which is the proper path expansion for directories with spaces in the filenames. Not sure if there's a more gramatically correct way to do this, but this works.

         afile.replace(' ', '\\ ')

So, with the attached patch, this can be fixed and applied to package.