Use basename in generated comment.

committer: mfx <mfx> 973813172 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2000-11-09 23:39:32 +00:00
parent 3effd46231
commit c1b8cff796
+5 -3
View File
@@ -50,12 +50,14 @@ $n = length($data);
# print # print
select(OUTFILE); select(OUTFILE);
$o = $ofile; $if = $ifile;
$o =~ s/.*[\/\\]//; $if =~ s/.*[\/\\]//;
$of = $ofile;
$of =~ s/.*[\/\\]//;
if ($opt_q ne "-q") { if ($opt_q ne "-q") {
print <<"EOF"; print <<"EOF";
/* $o -- created from $ifile, $n bytes /* $of -- created from $if, $n bytes
This file is part of the UPX executable compressor. This file is part of the UPX executable compressor.