bootchart/bootchart-0.9-svg_path.patch

16 lines
704 B
Diff
Raw Permalink Normal View History

--- bootchart-0.9/bootchart.pl.orig 2006-06-26 11:33:31.000000000 +0200
+++ bootchart-0.9/bootchart.pl 2006-06-26 11:35:22.000000000 +0200
@@ -37,9 +37,9 @@
my %ps_info;
my %ps_by_parent;
-my $chart_svg_template = `cat svg/bootchart.svg.template` || die;
-my $process_svg_template = `cat svg/process.svg.template` || die;
-my $svg_css_file = `cat svg/style.css` || die;
+my $chart_svg_template = `cat /usr/share/bootchart/svg/bootchart.svg.template` || die;
+my $process_svg_template = `cat /usr/share/bootchart/svg/process.svg.template` || die;
+my $svg_css_file = `cat /usr/share/bootchart/svg/style.css` || die;
$svg_css_file =~ s/^/\t\t\t/mg;
$svg_css_file =~ s/^\s+//g;