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.
I patched autopano, autopanog, autopano-complete, autopano- complete. old for using spaces in file and directory names. 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.
I only used Bourne shell constructs, so it should work with any shell.
By the way, both autopano-complete and autopano-
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.