db2html has the following code - it appears that the author checked for the input file being in the current working dir with the $1 = `basename $1` test mkdir $TMPDIR SAVE_PWD=`pwd` if [ $1 = `basename $1` ]; then echo "working on ../$1" (cd $TMPDIR; jade -t sgml -ihtml -d ${DB_STYLESHEET}\#html ../$1; cd $SAVE_PWD) else echo "working on $1" (cd $TMPDIR; jade -t sgml -ihtml -d ${DB_STYLESHEET}\#html $1; cd $SAVE_PWD) fi Unfortunately this fails if the input file has a relative path to the current working dir - including ./input_file - trying to build bonobo triggers this bug.
Oh yes and the "cd $SAVE_PWD" at the end isn't needed as the command is run in a sub shell
In 1.57-1 I've changed: if [ $1 = `basename $1` ]; then to if [ ! -z ${1%%/*} ]; then