diff -urNp xmlto-0.0.18.orig/xmlto.in xmlto-0.0.18/xmlto.in --- xmlto-0.0.18.orig/xmlto.in 2004-01-02 13:03:24.000000000 +0100 +++ xmlto-0.0.18/xmlto.in 2007-10-08 13:48:22.000000000 +0200 @@ -47,7 +47,7 @@ determined automatically). EOF if [ -d "$FORMAT_DIR" ] then - for source in $(${FIND} "$FORMAT_DIR" -type d -maxdepth 1) + for source in $(${FIND} "$FORMAT_DIR" -maxdepth 1 -type d) do if [ "$source" = "$FORMAT_DIR" ]; then continue; fi