Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pbxm-perl-lib-el8
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
static
pbxm-perl-lib-el8
Commits
3ce5421b
Commit
3ce5421b
authored
Apr 29, 2023
by
Andrey Shevchuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sitecustomize.pl: override system call without LD_LIBRARY_PATH LD_RUN_PATH envs
parent
74f6a6e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
sitecustomize.pl
usr/local/share/perl5/sitecustomize.pl
+19
-0
No files found.
usr/local/share/perl5/sitecustomize.pl
View file @
3ce5421b
BEGIN
{
my
$code
;
if
(
defined
&
CORE::GLOBAL::
system
)
{
my
$original
=
\&
CORE::GLOBAL::
system
;
$code
=
sub
{
delete
@ENV
{
qw[LD_LIBRARY_PATH LD_RUN_PATH]
};
return
$original
->
(
@_
);
};
}
else
{
$code
=
sub
{
delete
@ENV
{
qw[LD_LIBRARY_PATH LD_RUN_PATH]
};
return
CORE::
system
(
@_
);
};
}
no
warnings
'redefine'
;
*
CORE::GLOBAL::
system
=
$code
;
}
package
Thirdlane::Boot::
Local
;
package
Thirdlane::Boot::
Local
;
{
{
...
...
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