X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-instaweb.sh;h=b8e6456208d8cccb669eb125cfb2ac677443db82;hb=56eb8b43ebdb38683ff5ce395d7b5e080d402b5b;hp=341930ca9d74867cf334952fc47bb3afe95552b7;hpb=a689faeb5850174edfbbb0a502ef7eee8cd06d76;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*)