1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/irc/sirc/scripts/sirc-proto
Satoshi Asami 289b80fb84 Better fix for perl5-in-current world.
Submitted by:	maintainer
1998-09-16 06:55:18 +00:00

17 lines
325 B
Bash

#!/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