Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
3008e800
Commit
3008e800
authored
Apr 28, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 418672: Make email_in.pl chdir to the abs_path to avoid working from /etc/smrsh with Sendmail
Patch by Marques Johansson <bugzilla@displague.com> r=mkanat, a=mkanat
parent
1759f3e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
email_in.pl
email_in.pl
+3
-4
No files found.
email_in.pl
View file @
3008e800
...
@@ -24,10 +24,9 @@ use warnings;
...
@@ -24,10 +24,9 @@ use warnings;
# MTAs may call this script from any directory, but it should always
# MTAs may call this script from any directory, but it should always
# run from this one so that it can find its modules.
# run from this one so that it can find its modules.
BEGIN
{
use
Cwd
qw(abs_path)
;
require
File::
Basename
;
use
File::
Basename
qw(dirname)
;
chdir
(
File::Basename::
dirname
(
$0
));
BEGIN
{
chdir
dirname
(
abs_path
(
$0
));
}
}
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment