msva-query-agent only append newline to msg output if tty
[monkeysphere-validation-agent.git] / test-msva
1 #!/bin/sh
2
3 # this script exists so that you can launch the msva perl scripts
4 # directly from your development environment without having to install
5 # anything.
6
7 # it appears to be necessary because of some weirdness in how
8 # HTTP::Server::Simple interacts with Net::Server -- otherwise, i
9 # wouldn't need to shuffle all these files around.
10
11 # Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
12 # Date: 2010-03-11 14:53:07-0500
13
14 dir=$(dirname "$0")
15 cmd="$1"
16 shift
17 exec perl -wT -I"$dir" "$cmd" "$@"