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 | Merge branch 'gp/maint-rebase-p-onto' (diff) | |
download | tgif-e24c76bf09576e0d197db1e40dff655a75e9efe1.tar.xz |
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 |