scripts/add_maintainers.pl: Remove hardcoding

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>
This commit is contained in:
Lars Kurth authored and Ian Jackson committed 2019-09-12 17:19:34 +01:00
1 parent c82425e456
commit c16a6fd06e
1 file changed
+2 -2
+2 -2
View File
@@ -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:
--------
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.