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

View File

@ -50,12 +50,14 @@ $n = length($data);
# print
select(OUTFILE);
$o = $ofile;
$o =~ s/.*[\/\\]//;
$if = $ifile;
$if =~ s/.*[\/\\]//;
$of = $ofile;
$of =~ s/.*[\/\\]//;
if ($opt_q ne "-q") {
print <<"EOF";
/* $o -- created from $ifile, $n bytes
/* $of -- created from $if, $n bytes
This file is part of the UPX executable compressor.