From e44fe9ba9e1bde676d35db7aede0bc0c66f4f76b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 27 May 2013 17:03:50 +0200 Subject: Removing importet test bashism in frontends/cgi/live-build-cgi. --- frontends/cgi/live-build-cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3