#!/bin/sh

# loader for gretl

prefix=/usr/local
exec_prefix=${prefix}
bindir=${exec_prefix}/bin

if [ "x$DISPLAY" = "x" ] ; then
    exec ${bindir}/gretlcli "$@"
else
    exec ${bindir}/gretl_x11 "$@"
fi



