Files
mercury/scripts/mc.sh
Fergus Henderson c42e44a9f6 Allow the directory and file names to be overridden by
*.sh:
	Allow the directory and file names to be overridden by
	environment variables.
	Various bug-fixes.
1994-08-17 10:43:17 +00:00

8 lines
203 B
Bash

#!/bin/sh
INTDIR=${MERCURY_INT_DIR:-@LIBDIR@/ints}
DEPDIR=${MERCURY_DEP_DIR:-@LIBDIR@/deps}
MC=${MERCURY_COMPILER:-@LIBDIR@/nuprolog/@FULLARCH@/mercury_compile}
exec $MC -I "$INTDIR" -I "$DEPDIR" "$@"