summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2013-05-30 13:13:10 -0500
committerRichard Nelson <unixabg@gmail.com>2013-05-30 13:13:10 -0500
commitc4e67c9d705fa7ed05d45724b903775c29374991 (patch)
treee6ecf630bff9fa1807b0f47c569aed8cb09f2d7c /frontends
parent3fdb02cd3ddbb7b1d5879854501fc999308e5f36 (diff)
downloadvyos-live-build-c4e67c9d705fa7ed05d45724b903775c29374991.tar.gz
vyos-live-build-c4e67c9d705fa7ed05d45724b903775c29374991.zip
Correcting bashism in frontends/cgi/live-build-cgi
Diffstat (limited to 'frontends')
-rwxr-xr-xfrontends/cgi/live-build-cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontends/cgi/live-build-cgi b/frontends/cgi/live-build-cgi
index 8014ebb87..49cb1e5bf 100755
--- a/frontends/cgi/live-build-cgi
+++ b/frontends/cgi/live-build-cgi
@@ -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