Correcting bashism in frontends/cgi/live-build-cgi
This commit is contained in:
parent
3fdb02cd3d
commit
c4e67c9d70
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue