Use basename in generated comment.
committer: mfx <mfx> 973813172 +0000
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user