foretspaisibles / bsdowl

A highly portable build system targeting modern UNIX systems. Supports C, OCaml, TeX, METAPOST, NOWEB, M4, and more. Based on BSD Make.
http://michipili.github.io/bsdowl/
Other
102 stars 7 forks source link

Fix COPYTREE macros in Debian/Jessie #155

Closed foretspaisibles closed 9 years ago

foretspaisibles commented 9 years ago

The testsuite fails in 1c02039898dfa63646c0082bf7b0fd483e706471 with

===> ocaml/test_library/TestLibraryDoc (install)
install -d -o michael -g michael /tmp/michael/bsdowl/ocaml/test_library/TestLibraryDoc/usr/local/share/doc/newton/html
(cd newton_html && sh -c '(find -d $1 $3 | cpio -dumpl $2 >/dev/null 2>&1) && find -d $1 $3 -type d -exec chmod 755 $2/{} \; && find -d $1 $3 -type f -exec chmod 440 $2/{} \;' -- COPYTREE_DOC . /tmp/michael/bsdowl/ocaml/test_library/TestLibraryDoc/usr/local/share/doc/newton/html)
find: warning: the -d option is deprecated; please use -depth instead, because the latter is a POSIX-compliant feature.
find: paths must precede expression: COPYTREE_DOC
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]

It seems that the shell does not like the --.