7 echo "$PROG [-native] [-I dir .. -I dir] Module"
16 dir=`echo "$2" | sed "s:^+:$(ocamlc -where)/:"`
34 if test "$#" -eq 0; then break; fi
36 if test "$NATIVE" = "1"; then
42 for MODULE in $MODULES; do
43 module="$(echo $MODULE | cut -b1 | tr A-Z a-z)$(echo $MODULE | cut -b2-)"
44 echo "$INCLUDES" | while read include; do
45 base="$include/$module"
46 if test -z "$include"; then continue; fi
47 if test -f "$base".ml -o -f "$base".mly -o -f "$base".mll -o -f "$base".pack; then
48 echo -n "$base"."$ext "
50 elif test -f "$base".mli; then
51 echo -n "$base"."cmi "