diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-08-19 15:13:01 +0200 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-08-19 15:13:01 +0200 |
commit | 3c81bc6102f96f679daa55944a17e8a0df316865 (patch) | |
tree | b7d8985ede294905b838f5659770766915bef26d | |
parent | c6b40a36b28fea2c819b1fba148182b6f6b29528 (diff) |
#i113965# fix for start directoryooo/OOO330_m5
-rw-r--r--[-rwxr-xr-x] | solenv/bin/build.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl index d4d728cf9..5810ebb78 100755..100644 --- a/solenv/bin/build.pl +++ b/solenv/bin/build.pl @@ -1150,8 +1150,8 @@ sub get_stand_dir { print_error('Found no project to build'); }; $initial_module = substr($initial_dir, length($StandDir) + 1); - if ($initial_module =~ /\\|\//) { - $initial_module = File::Basename::dirname($initial_module); + if ($initial_module =~ /(\\|\/)/) { + $initial_module = $`; }; $module_paths{$initial_module} = $StandDir . "/$initial_module"; # $build_list_paths{$initial_module} =$StandDir . '/prj/'.$_; |