summaryrefslogtreecommitdiff
path: root/eaddress
blob: 15b118c39efa17880bc261ecd47ac0845cd1b2ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
PERL="perl"
dir=`dirname "$0"`
case "`uname -s`" in
 CYGWIN_NT*)
   # Use a negative match here because the shell treats 0 as success.
   if perl -e 'exit $^O !~ /^MSWin/'; then
      dir=`cygpath -w "$dir"`
   fi
   ;;
 Darwin )
   PERL="/usr/bin/perl"
   ;;
esac
exec "${PERL}" "$dir"/edirect.pl -address "$@"