File: 002_script-name.diff

package info (click to toggle)
mailgraph 1.14-20%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 632 kB
  • sloc: perl: 7,677; sh: 134; makefile: 9
file content (16 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Allows mailgrap to show graph is the script is renamed
Author: Julien Valroff <julien@debian.org>
Fowrarded: no
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=434486

--- a/mailgraph.cgi
+++ b/mailgraph.cgi
@@ -11,7 +11,7 @@
 my $VERSION = "1.14";
 
 my $host = (POSIX::uname())[1];
-my $scriptname = 'mailgraph.cgi';
+my $scriptname = $ENV{"SCRIPT_NAME"};
 my $xpoints = 540;
 my $points_per_sample = 3;
 my $ypoints = 160;