diff options
Diffstat (limited to 'www/screws/patches/patch-ah')
-rw-r--r-- | www/screws/patches/patch-ah | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/screws/patches/patch-ah b/www/screws/patches/patch-ah new file mode 100644 index 00000000000..d4b9a56776f --- /dev/null +++ b/www/screws/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1 2006/11/02 18:48:53 rillig Exp $ + +--- src/Exec/sh/basic.sh.orig 2004-09-17 00:05:58.000000000 +0200 ++++ src/Exec/sh/basic.sh 2006-11-02 19:47:46.000000000 +0100 +@@ -50,7 +50,7 @@ if [ "${METHOD}" = "GET" ]; then + printf "Connection: close\r\n" + # MIME=`${AWK} '{ if (($2==${MIMETYPES})&&($1!~/^#/)) { print $1; }' ${MIMEFILE}` + MIME="" +- if [ "${MIME}" == "" ]; then ++ if [ "${MIME}" = "" ]; then + MIME="text/html" + fi + if [ "${FILETYPE}" = "html" ]; then |