diff options
Diffstat (limited to 'git-instaweb.sh')
-rwxr-xr-x | git-instaweb.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/git-instaweb.sh b/git-instaweb.sh index 341930ca9d..b8e6456208 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*) |