pkgsrc/www/screws/patches/patch-ah
2006-11-02 18:48:53 +00:00

13 lines
510 B
Text

$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