slimmed down the header.
[feisty_meow.git] / scripts / cgi / call_version_utils.sh
1 #!/bin/bash
2
3 # processes cgi request and passes it on to the real script.
4
5 cmd1=$(echo $QUERY_STRING | sed -e "s/.*cmd1=\([^&]*\).*$/\1/" | sed -e "s/\+/ /g" )
6 cmd2=$(echo $QUERY_STRING | sed -e "s/.*cmd2=\([^&]*\).*$/\1/" | sed -e "s/\+/ /g" )
7
8 echo "Content-type: text/plain"
9 echo ""
10 echo ""
11 #echo "query string is $QUERY_STRING"
12 #echo "cmd1=$cmd1"
13 #echo "cmd2=$cmd2"
14 bash /var/www/yeti/scripts/build/version_utils.sh $cmd1 $cmd2
15