summaryrefslogtreecommitdiff
path: root/einfo
blob: 2e52fde5415a7c239efb0e9f0e406b8c369d8fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
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
   ;;
esac
exec perl "$dir"/edirect.pl -info "$@"