blob: 01c1ec9cbfa3a24dee9c23a90720de467154c92d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/sh
#########################################################################
# #
# Objective Caml #
# #
# Damien Doligez, projet Para, INRIA Rocquencourt #
# #
# Copyright 1999 Institut National de Recherche en Informatique et #
# en Automatique. All rights reserved. This file is distributed #
# under the terms of the Q Public License version 1.0. #
# #
#########################################################################
# $Id$
# Multi-shell script. Works under Bourne Shell, MPW Shell, zsh.
if : == x
then # Bourne Shell or zsh
exec %%BINDIR%%/ocamlc -linkall toplevellib.cma "$@" topstart.cmo
else # MPW Shell
ocamlc -linkall toplevellib.cma {"parameters"} topstart.cmo
exit {status}
End # uppercase E because "end" is a keyword in zsh
fi
|