Use basename of objxref.pl not whole path in generated header.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* AUTOGENERATED BY crypto/objects/objxref.pl, DO NOT EDIT */
|
/* AUTOGENERATED BY objxref.pl, DO NOT EDIT */
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
@@ -54,10 +54,13 @@ my @srt2 = sort
|
|||||||
|
|
||||||
return $ap2 - $bp2;
|
return $ap2 - $bp2;
|
||||||
} @xrkeys;
|
} @xrkeys;
|
||||||
|
|
||||||
|
my $pname = $0;
|
||||||
|
|
||||||
|
$pname =~ s|^.[^/]/||;
|
||||||
|
|
||||||
print <<EOF;
|
print <<EOF;
|
||||||
/* AUTOGENERATED BY $0, DO NOT EDIT */
|
/* AUTOGENERATED BY $pname, DO NOT EDIT */
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user