openbsd-ports/net/sirc/files/sirc-script

17 lines
294 B
Plaintext
Raw Normal View History

#!/bin/sh
PERL=/usr/bin/perl
if test -z "$SIRCSERVER" && test -z "$IRCSERVER"
then
SIRCSERVER="irc.ef.net"
export SIRCSERVER
fi
case "$1" in
-d) shift
exec ${PERL} PREFIX.SED/bin/dsirc "$@"
;;
*) eval exec PREFIX.SED/bin/ssfe $SSFE ${PERL} PREFIX.SED/bin/dsirc \"\$@\"
esac