[Bug 66754] Remove own implementations of various Perl functions in installer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 22 23:26:58 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=66754

--- Comment #3 from bavincen <bavincen.in at gmail.com> ---
(In reply to comment #0)
> Some Perl knowledge is needed for this Easy Hack.
> 
> solenv/bin/modules/installer/systemactions.pm implements for example
> create_directory() that can be exchanged with standard Perl's make_path()
> [http://perldoc.perl.org/File/Path.html].  Similarly other functions there,
> for which standard (or widely used) implementations exist.
> 
> What needs to be done (in the create_directory case; but similarly for more
> functions there):
> 
> Find all Perl scripts that use create_directory:
> 
> git grep '\<create_directory\>'
> 
> Edit all those that are Perl (end with .pl or .pm) so that you add use
> File::Path qw(make_path); at the top and then instead of create_directory()
> calls, you use make_path().
> 
> Then, remove the create_directory and create_directory_with_privileges
> declarations / definitions.
> 
> As the last step, make sure that everything builds & packages still :-)

Hi jan
can we keep that  create_directory and implement make path in it.
and remove  create_directory_with_privileges ,

need a breif explanation :) thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140923/9227dd76/attachment.html>


More information about the LibreOffice mailing list