ocaml/camlp4/ocaml_src/tools/ocamlopt.sh

9 lines
182 B
Bash
Executable File

#!/bin/sh -e
if test "`basename $OTOP`" != "ocaml_stuff"; then
COMM="$OTOP/boot/ocamlrun$EXE $OTOP/ocamlopt -I $OTOP/stdlib"
else
COMM=ocamlopt$OPT
fi
echo $COMM $*
$COMM $*