Commit 00484644 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Use basename of objxref.pl not whole path in generated header.

parent b422166c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
/* AUTOGENERATED BY crypto/objects/objxref.pl, DO NOT EDIT */
/* AUTOGENERATED BY objxref.pl, DO NOT EDIT */

typedef struct
	{
+5 −2
Original line number Diff line number Diff line
@@ -55,9 +55,12 @@ my @srt2 = sort
	return $ap2 - $bp2;
	} @xrkeys;

my $pname = $0;

$pname =~ s|^.[^/]/||;

print <<EOF;
/* AUTOGENERATED BY $0, DO NOT EDIT */
/* AUTOGENERATED BY $pname, DO NOT EDIT */

typedef struct
	{