summaryrefslogtreecommitdiffstats
path: root/crypto/objects/objxref.pl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-04-06 16:16:23 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-04-06 16:16:23 +0000
commit0048464449f5e72cd55fad628671e39064219e8c (patch)
tree144fa15affec0ca24c544e306ef7325960e4aa35 /crypto/objects/objxref.pl
parentb422166ce0e12fa937144b2d491338fa9f5be692 (diff)
Use basename of objxref.pl not whole path in generated header.
Diffstat (limited to 'crypto/objects/objxref.pl')
-rw-r--r--crypto/objects/objxref.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/crypto/objects/objxref.pl b/crypto/objects/objxref.pl
index 3fa584036e..731d3ae22c 100644
--- a/crypto/objects/objxref.pl
+++ b/crypto/objects/objxref.pl
@@ -54,10 +54,13 @@ 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
{