diff options
Diffstat (limited to 'os-plugins/OpenSLX/OSPlugin/Engine.pm')
-rw-r--r-- | os-plugins/OpenSLX/OSPlugin/Engine.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os-plugins/OpenSLX/OSPlugin/Engine.pm b/os-plugins/OpenSLX/OSPlugin/Engine.pm index eb402578..d1eb961d 100644 --- a/os-plugins/OpenSLX/OSPlugin/Engine.pm +++ b/os-plugins/OpenSLX/OSPlugin/Engine.pm @@ -669,9 +669,13 @@ sub _callChrootedFunctionForPlugin $hostPerlCorePath, $hostPerlCorePathInChroot, $! ); unshift @INC, '/mnt/host-perl'; + unshift @INC, "/mnt$openslxConfig{'base-path'}/lib"; 1 }, release => sub { + if ($INC[0] eq "/mnt$openslxConfig{'base-path'}/lib") { + shift @INC; + } if ($INC[0] eq '/mnt/host-perl') { shift @INC; } |