Changeset 3390 in MondoRescue


Ignore:
Timestamp:
Jun 3, 2015, 7:37:48 PM (9 years ago)
Author:
Bruno Cornec
Message:
  • mindi logs now the perl modules found
  • lib is also a useful perl module not automatically detected at least on CentOS6
Location:
branches/3.2/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3388 r3390  
    26342634    LogIt "INFO: Analyzing perl modules dependencies" $MINDI_TMP/$$.log
    26352635    mindi-get-perl-modules `cat $MINDI_CONF/perl-scripts` /usr/[s]*bin/mr-* 2>> $MINDI_TMP/$$.log > $MINDI_TMP/perl.lis
     2636    LogIt "DBG4: Modules found:" $MINDI_TMP/$$.log
     2637    LogIt "--------------------" $MINDI_TMP/$$.log
     2638    cat $MINDI_TMP/perl.lis >> $MINDI_TMP/$$.log
     2639    LogIt "--------------------" $MINDI_TMP/$$.log
    26362640    tar cf - `cat $MINDI_TMP/perl.lis` 2>> $MINDI_TMP/$$.log | tar xf - || LogIt "ERROR: Problem in perl scripts analysis" $MINDI_TMP/$$.log
    26372641
  • branches/3.2/mindi/mindi-get-perl-modules

    r3389 r3390  
    105105print TMPF "use bytes;\n";
    106106print TMPF "# To prevent a bug with perl 5.10.0\n";
    107 print TMPF "require Tie::Hash::NamedCapture;\n";
     107print TMPF "use Tie::Hash::NamedCapture;\n";
     108print TMPF "# To prevent a bug somewhere with scan_deps :-(\n";
     109print TMPF "use lib;\n";
    108110close(TMPF);
    109111
Note: See TracChangeset for help on using the changeset viewer.