--- fwmakepkg.orig 2005-10-16 20:51:04.000000000 +0200 +++ fwmakepkg 2005-10-16 20:51:40.000000000 +0200 @@ -370,7 +370,7 @@ { if [ "$startdir" = `pwd` ]; then local i - if darcs --commands 2>&1|grep -q add; then + if darcs --commands 2>&1|grep -q add && [ -d `darcs add . 2>&1|sed -n 's/[^/]*/../g; 4 p'`/source/include ]; then local Fincdir=`darcs add . 2>&1|sed -n 's/[^/]*/../g; 4 p'`/source/include elif [ -d /var/tmp/fst/include ]; then local Fincdir=/var/tmp/fst/include