summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport/FileSystem/Base.pm
diff options
context:
space:
mode:
Diffstat (limited to 'installer/OpenSLX/OSExport/FileSystem/Base.pm')
-rw-r--r--installer/OpenSLX/OSExport/FileSystem/Base.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSExport/FileSystem/Base.pm b/installer/OpenSLX/OSExport/FileSystem/Base.pm
index 1014d596..05f3c6a0 100644
--- a/installer/OpenSLX/OSExport/FileSystem/Base.pm
+++ b/installer/OpenSLX/OSExport/FileSystem/Base.pm
@@ -19,6 +19,7 @@ use warnings;
our $VERSION = 1.01; # API-version . implementation-version
use File::Basename;
+use Scalar::Util qw( weaken );
use OpenSLX::Basics;
use OpenSLX::Utils;
@@ -33,6 +34,12 @@ sub new
sub initialize
{
+ my $self = shift;
+ my $engine = shift;
+
+ $self->{'engine'} = $engine;
+ weaken($self->{'engine'});
+ # avoid circular reference between file-system and its engine
}
sub exportVendorOS