Hi,

At the end of the "dash" log you pointed to, one can read:

        for i in $(find debian/tmp/usr/share/doc/maxima-doc/{plotting,tips} 
-name
"*.uu") ; do \
                        cat $i | uudecode > ${i%.uu} && rm $i ; done
        find: debian/tmp/usr/share/doc/maxima-doc/{plotting,tips}: No such file 
or
directory
        for i in $(find debian/tmp/usr/share/doc/maxima-doc/{plotting,tips} 
-name
"*.shtml") ; do \
                        mv $i ${i%.shtml}.html ; done
        find: debian/tmp/usr/share/doc/maxima-doc/{plotting,tips}: No such file 
or
directory

So obviously the find command inside the command substitution did not understand
the special meaning of the braces in "{plotting,tips}".
The reason being that the brace expansion is a non-standard mechanism that works
in Bash but not in historical sh (as mentioned in the man page of bash).
The attached patch simply replaces in debian/rules the use of the braces by the
intended result of their expansion.
Is there a more elegant way to work-around that bug?

Xavier


Reply via email to