diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-01-25 11:34:49 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-01-25 11:34:49 +0100 |
commit | 703aa707b342139eab23e607bd905a9442ff86d6 (patch) | |
tree | c4a8655e71e73cbf53a62decb33b5051169c3b4b /solenv | |
parent | 420538a137f8c2e9c2c8d6351b05d958f9e0e677 (diff) |
#i107041# add start root directory as a repository
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/SourceConfig.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/bin/modules/SourceConfig.pm b/solenv/bin/modules/SourceConfig.pm index 5c8dc89a641c..088005e43d7b 100644 --- a/solenv/bin/modules/SourceConfig.pm +++ b/solenv/bin/modules/SourceConfig.pm @@ -75,6 +75,9 @@ sub new { $self->{ACTIVATED_MODULES} = {}; $self->{MODULE_REPOSITORY} = {}; $self->{REAL_MODULES} = {}; + if (defined $self->{USER_SOURCE_ROOT}) { + ${$self->{REPOSITORIES}}{File::Basename::basename($self->{USER_SOURCE_ROOT})} = $self->{USER_SOURCE_ROOT}; + }; $self->{SOURCE_CONFIG_FILE} = get_config_file($source_root); $self->{SOURCE_CONFIG_DEFAULT} = $source_root .'/'.SOURCE_CONFIG_FILE_NAME; read_config_file($self); |