X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=inline;f=git-instaweb.sh;h=b8e6456208d8cccb669eb125cfb2ac677443db82;hb=ef0065034a68edfc0ffed9965bb895073ad710db;hp=341930ca9d74867cf334952fc47bb3afe95552b7;hpb=ad7ace714d353ef49045bc37c1363e8fc904792d;p=git.git diff --git a/git-instaweb.sh b/git-instaweb.sh index 341930ca9..b8e645620 100755 --- a/git-instaweb.sh +++ b/git-instaweb.sh @@ -394,8 +394,15 @@ gitweb_css () { EOFGITWEB } +gitweb_js () { + cat > "$1" <<\EOFGITWEB +@@GITWEB_JS@@ +EOFGITWEB +} + gitweb_cgi "$GIT_DIR/gitweb/gitweb.cgi" gitweb_css "$GIT_DIR/gitweb/gitweb.css" +gitweb_js "$GIT_DIR/gitweb/gitweb.js" case "$httpd" in *lighttpd*)