<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Remove own implementations of various Perl functions in installer"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66754#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Remove own implementations of various Perl functions in installer"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66754">bug 66754</a>
              from <span class="vcard"><a class="email" href="mailto:bavincen.in@gmail.com" title="bavincen <bavincen.in@gmail.com>"> <span class="fn">bavincen</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=66754#c0">comment #0</a>)
<span class="quote">> 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()
> [<a href="http://perldoc.perl.org/File/Path.html">http://perldoc.perl.org/File/Path.html</a>].  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 :-)</span >

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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>