aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/objects
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
parentb422166ce0e12fa937144b2d491338fa9f5be692 (diff)
downloadopenssl-0048464449f5e72cd55fad628671e39064219e8c.tar.gz
Use basename of objxref.pl not whole path in generated header.
Diffstat (limited to 'crypto/objects')
-rw-r--r--crypto/objects/obj_xref.h2
-rw-r--r--crypto/objects/objxref.pl7
2 files changed, 6 insertions, 3 deletions
diff --git a/crypto/objects/obj_xref.h b/crypto/objects/obj_xref.h
index 7836f01d95..d5b9b8e198 100644
--- a/crypto/objects/obj_xref.h
+++ b/crypto/objects/obj_xref.h
@@ -1,4 +1,4 @@
-/* AUTOGENERATED BY crypto/objects/objxref.pl, DO NOT EDIT */
+/* AUTOGENERATED BY objxref.pl, DO NOT EDIT */
typedef struct
{
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
{