ocaml/camlp4/ocaml_src/tools/ocamlopt.sh

9 lines
147 B
Bash
Executable File

#!/bin/sh -e
if test "`basename $OTOP`" != "ocaml_stuff"; then
COMM=$OTOP/ocamlcompopt.sh
else
COMM=ocamlopt$OPT
fi
echo $COMM $*
$COMM $*