1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/irc/sirc/scripts/sirc-proto

17 lines
325 B
Plaintext
Raw Normal View History

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