aboutsummaryrefslogtreecommitdiff
path: root/irc/sirc/files/sirc.in
blob: c29f5857df65bf91bbe64711e9ef15dff44f83f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

SIRCLIB=%%PREFIX%%/libexec/sirc ; export SIRCLIB

case "$1" in
-d)	shift ; exec ${SIRCLIB}/dsirc "$@" ;;
*)	eval exec %%PREFIX%%/bin/ssfe $SSFE ${SIRCLIB}/dsirc \"\$@\"
esac

# Should not be reached
exit 1