Correcting bashism in frontends/cgi/live-build-cgi

This commit is contained in:
Richard Nelson 2013-05-30 13:13:10 -05:00
parent 3fdb02cd3d
commit c4e67c9d70
1 changed files with 3 additions and 3 deletions

View File

@ -32,12 +32,12 @@ fi
echo "Content-type: text/html"
echo
#QUERY_STRING=`cat /dev/stdin`
#QUERY_STRING=$(cat /dev/stdin)
# If we are passed something then read it in.
if [ "$REQUEST_METHOD" = "POST" ] && [ "$CONTENT_LENGTH" -gt 0 ]
then
read -n $CONTENT_LENGTH POST_DATA <&0
#QUERY_STRING=`cat /dev/stdin`
QUERY_STRING=$(cat /dev/stdin)
#read -n $CONTENT_LENGTH POST_DATA <&0
fi
# Translate parameters