~ubuntu-branches/ubuntu/oneiric/bugzilla/oneiric

« back to all changes in this revision

Viewing changes to debian/maintenance/30_graphviz.sh

  • Committer: Bazaar Package Importer
  • Author(s): Raphael Bossek
  • Date: 2009-11-29 13:56:03 UTC
  • mfrom: (9.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20091129135603-yn5lbfhxxvz8jvjo
Tags: 3.2.5.1-2
Fixed dash compatibility within ../bugzilla3/lib/checksetup.pl.
Closes: #558238

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Static files are not stored within the cgi-bin directory. We have to redirect
3
 
# the request to our static directories.
4
 
 
5
 
set -e
6
 
 
7
 
echo "$0 $*"
8
 
 
9
 
cd $1
10
 
patch -p1 < $0
11
 
 
12
 
exit 0
13
 
 
14
 
--- bugzilla.old/showdependencygraph.cgi        2008-05-05 13:51:37.000000000 +0200
15
 
+++ bugzilla.new/showdependencygraph.cgi        2008-05-05 15:34:58.000000000 +0200
16
 
@@ -253,6 +253,10 @@
17
 
     
18
 
     $vars->{'image_url'} = $pngfilename;
19
 
 
20
 
+    # bossekr@debian.org: Patch for local configuration of GraphViz.
21
 
+    my $urlbase = Bugzilla->params->{'urlbase'};
22
 
+    $vars->{'image_url'} =~ s#$webdotdir#${urlbase}webdot#;
23
 
+
24
 
     # Then, generate a imagemap datafile that contains the corner data
25
 
     # for drawn bug objects. Pass it on to CreateImagemap that
26
 
     # turns this monster into html.