diff options
author | Richard Nelson <unixabg@gmail.com> | 2013-05-30 13:13:10 -0500 |
---|---|---|
committer | Richard Nelson <unixabg@gmail.com> | 2013-05-30 13:13:10 -0500 |
commit | c4e67c9d705fa7ed05d45724b903775c29374991 (patch) | |
tree | e6ecf630bff9fa1807b0f47c569aed8cb09f2d7c /frontends | |
parent | 3fdb02cd3ddbb7b1d5879854501fc999308e5f36 (diff) | |
download | vyos-live-build-c4e67c9d705fa7ed05d45724b903775c29374991.tar.gz vyos-live-build-c4e67c9d705fa7ed05d45724b903775c29374991.zip |
Correcting bashism in frontends/cgi/live-build-cgi
Diffstat (limited to 'frontends')
-rwxr-xr-x | frontends/cgi/live-build-cgi | 6 |
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 |