projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82425e
)
scripts/add_maintainers.pl: Remove hardcoding
author
Lars Kurth
<lars.kurth@citrix.com>
Fri, 30 Aug 2019 17:18:16 +0000
(18:18 +0100)
committer
Ian Jackson
<ian.jackson@eu.citrix.com>
Thu, 12 Sep 2019 16:19:34 +0000
(17:19 +0100)
Instead of using a hardcoded location, inherit the
location from $0
Signed-off-by: Lars Kurth <lars.kurth@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
scripts/add_maintainers.pl
patch
|
blob
|
history
diff --git
a/scripts/add_maintainers.pl
b/scripts/add_maintainers.pl
index 09e9f6609fa72dcbb55db80486c058af8f8a70f9..5a6d0f631b80f3a703fdef36be22e2fb52f74b82 100755
(executable)
--- a/
scripts/add_maintainers.pl
+++ b/
scripts/add_maintainers.pl
@@
-26,9
+26,9
@@
sub insert ($$$$);
sub hastag ($$);
# Tool Variables
-my $get_maintainer = "./scripts/get_maintainer.pl";
-
my $tool = $0;
+my $get_maintainer = $tool;
+$get_maintainer =~ s/add_maintainers/get_maintainer/;
my $usage = <<EOT;
OPTIONS:
--------