Changes required to work with mono 1.2.6 and recent unixodbc.
[schedulator.git] / run-cgi
blobf0df5c07773ff991f85d679e990c962b25e41af1
1 #!/bin/bash
3 #echo "Content-type: text/html"
4 #echo
5 #exec 2>&1
7 N="$(basename "$0")"
8 N="$(basename "$N" .cgi)"
10 if [ -f Makefile ]; then
11 make -q "$N".exe || echo "<b>WARNING: $N is out of date!</b><p>"
14 exec mono --debug ./"$N".exe "$@"
15 #exec strace -s 10240 -o /tmp/xx.$$.out mono --debug ./"$N".exe "$@"