diff options
author | Sean Estabrooks <seanlkml@sympatico.ca> | 2009-07-18 09:45:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-26 11:27:27 -0700 |
commit | e24c76bf09576e0d197db1e40dff655a75e9efe1 (patch) | |
tree | 388f1017b0a3947ab8e59ecd9b35bd97e53f21bb /git-instaweb.sh | |
parent | d1926f63ec93e84dba1a54c5de898fb517d9ca59 (diff) | |
download | git-e24c76bf09576e0d197db1e40dff655a75e9efe1.tar.gz |
Trivial path quoting fixes in git-instaweb
Bodo Schlecht noticed that Instaweb didn't propely quote all
path instances in the Apache config file it generated.
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-instaweb.sh')
-rwxr-xr-x | git-instaweb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-instaweb.sh b/git-instaweb.sh index 5f4419b69b..32f6496b0d 100755 --- a/git-instaweb.sh +++ b/git-instaweb.sh @@ -256,7 +256,7 @@ apache2_conf () { mkdir -p "$GIT_DIR/gitweb/logs" bind= test x"$local" = xtrue && bind='127.0.0.1:' - echo 'text/css css' > $fqgitdir/mime.types + echo 'text/css css' > "$fqgitdir/mime.types" cat > "$conf" <<EOF ServerName "git-instaweb" ServerRoot "$fqgitdir/gitweb" @@ -272,7 +272,7 @@ EOF fi done cat >> "$conf" <<EOF -TypesConfig $fqgitdir/mime.types +TypesConfig "$fqgitdir/mime.types" DirectoryIndex gitweb.cgi EOF |