#!/bin/sh
# Start olfc with the correct config file

program=`basename $0`

attach olc 2>/dev/null
if ldd /mit/olc/bin/olc.old | grep -q 'libcom_err.so.1\s*=>\s*not found'; then
    export LD_LIBRARY_PATH=/mit/geofft/sketchy
fi
exec /mit/olc/bin/olc.old -config /mit/geofft/olfc -name "$program" ${1+"$@"}
