#! /bin/sh # $Id: tpc.in 5550 2009-02-19 18:14:43Z cher $ # Copyright (c) 2008 Alexander Chernov libexecdir="/opt/ejudge/libexec" LANG_CONFIG_DIR="/home/judges/compile/conf/lang.d" [ "${EJUDGE_LANG_CONFIG}" = "" ] && EJUDGE_LANG_CONFIG="${LANG_CONFIG_DIR}/tpc.cfg" if [ -f "${EJUDGE_LANG_CONFIG}" ] then . "${EJUDGE_LANG_CONFIG}" fi if [ x"${version}" = x ] then echo "This language is not supported." >&2 exit 1 fi unset LANG exec "${TPCRUN}" "$@"