Changeset 3389 in MondoRescue
- Timestamp:
- Jun 3, 2015, 3:00:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi-get-perl-modules
r3388 r3389 97 97 pb_temp_init(); 98 98 99 my $tmpf = "$ENV{'PBTMP'}/mpgm.$$ ";99 my $tmpf = "$ENV{'PBTMP'}/mpgm.$$.pl"; 100 100 101 101 open(TMPF,"> $tmpf") || die "Unable to create $tmpf: !$\n"; … … 104 104 print TMPF "# To include module used by Data:Dumper in a masked way for this script\n"; 105 105 print TMPF "use bytes;\n"; 106 print TMPF "# To prevent a bug with perl 5.10.0\n"; 107 print TMPF "require Tie::Hash::NamedCapture;\n"; 106 108 close(TMPF); 107 109 … … 119 121 pb_log(1,"-----------------------\n"); 120 122 foreach my $f (sort keys %$h) { 123 # Skip the temp file 124 next if ($h->{$f}->{'file'} =~ /$ENV{'PBTMP'}/); 121 125 print "$h->{$f}->{'file'}\n"; 122 126 }
Note:
See TracChangeset
for help on using the changeset viewer.