I patched autopano, autopanog, autopano-complete, autopano-complete.old for 
using spaces in file and directory names.
I only used Bourne shell constructs, so it should work with any shell.
By the way, both autopano-complete and autopano-complete.old contained 
bashisms, that is, even if they have a #! /bin/sh in the first line, they used 
the $() construct, which is not legal in Bourne shell; I corrected this.
As a general rule, only write bash scripts using file names if you know well 
what you are doing: correct treatment of generic file names in Bourne shell or 
Bash is tricky. Please let me know if you encounter problems with this patch.

In the attachment, together with a diff and the original files, you can
find the patched files, which you can copy to your /usr/bin directory.
Specifically, copy autopano/patched/autopano-complete to /usr/bin
/autopano-complete in order to automatically generate points with Hugin.

** Attachment added: "patch, original programs and patched programs"
   http://launchpadlibrarian.net/11771055/autopano-patch.tar.gz

-- 
Incorrect handling of filenames with spaces
https://bugs.launchpad.net/bugs/180223
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to