summaryrefslogtreecommitdiff
path: root/frontends/cgi
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-05-27 17:03:50 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-27 17:13:58 +0200
commite44fe9ba9e1bde676d35db7aede0bc0c66f4f76b (patch)
treea855e36e45c66fec7131d2af7be7428f3172dfa2 /frontends/cgi
parent3c59c82e1dcaa19302eaf478a59a5c9ebc94cc52 (diff)
downloadvyos-live-build-e44fe9ba9e1bde676d35db7aede0bc0c66f4f76b.tar.gz
vyos-live-build-e44fe9ba9e1bde676d35db7aede0bc0c66f4f76b.zip
Removing importet test bashism in frontends/cgi/live-build-cgi.
Diffstat (limited to 'frontends/cgi')
-rwxr-xr-xfrontends/cgi/live-build-cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/cgi/live-build-cgi b/frontends/cgi/live-build-cgi
index dbc1ef53b..8014ebb87 100755
--- a/frontends/cgi/live-build-cgi
+++ b/frontends/cgi/live-build-cgi
@@ -35,7 +35,7 @@ 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 ]]
+if [ "$REQUEST_METHOD" = "POST" ] && [ "$CONTENT_LENGTH" -gt 0 ]
then
read -n $CONTENT_LENGTH POST_DATA <&0
fi