From nobody Thu Apr 18 22:48:59 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1567596683; cv=none; d=zoho.com; s=zohoarc; b=QiN09c/ARa1UZ163L2evvS3hMj3gLLIS5vl0Q+QXbWG9+3UEVX3OzbucFDQ2xJsdcR3K7TdG0kM8n6jHp6CkATSJ+AJaJli3DHdtLjqNV3IRWyVql4tUnxbA0ZIcuQ8LILjK7GrRCFtZN7/QRwXqUu7xX+BhHw4JbeTq4uFHr2E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1567596683; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=Rl4xOsFd2jvSlTgXDMXhd9iCM+LxEVD6qbifaXLMVas=; b=Q8plcwmg5hwshiuUKNnlZ9OPchGW/6NTt5fhSWhlFyY5WbWO0ne8W8SWNAB/QBSNW6PzWTLVClVjyLqbddzn8eJRV96XNy5Ouak4l7v+CFrhVH8gDo6nJfNW8WZ77uxh++vaK1NsnlABJFteUp0fORVTCSn2FUG2oa139drPm6Y= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1567596683768350.37627945772203; Wed, 4 Sep 2019 04:31:23 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i5TUR-0006S6-NI; Wed, 04 Sep 2019 11:30:19 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i5TUQ-0006RT-Cw for xen-devel@lists.xenproject.org; Wed, 04 Sep 2019 11:30:18 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 5ef17406-cf07-11e9-978d-bc764e2007e4; Wed, 04 Sep 2019 11:30:17 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i5TUO-0005c2-7t; Wed, 04 Sep 2019 11:30:16 +0000 Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by xenbits.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1i5TUO-0004TJ-0H; Wed, 04 Sep 2019 11:30:16 +0000 X-Inumbo-ID: 5ef17406-cf07-11e9-978d-bc764e2007e4 From: Lars Kurth To: xen-devel@lists.xenproject.org Date: Wed, 4 Sep 2019 12:30:08 +0100 Message-Id: <0944333a4a0b503789d10afa63f8229bd0441290.1567596460.git-series.lars.kurth@citrix.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: References: In-Reply-To: References: Subject: [Xen-devel] [PATCH v4 1/3] Remove hardcoding from scripts/add_maintainers.pl X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Lars Kurth , Stefano Stabellini , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Instead of using a hardcoded location, inherit the location from $0 Signed-off-by: Lars Kurth Acked-by: Julien Grall --- scripts/add_maintainers.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/add_maintainers.pl b/scripts/add_maintainers.pl index 09e9f66..5a6d0f6 100755 --- a/scripts/add_maintainers.pl +++ b/scripts/add_maintainers.pl @@ -26,9 +26,9 @@ sub insert ($$$$); sub hastag ($$); =20 # Tool Variables -my $get_maintainer =3D "./scripts/get_maintainer.pl"; - my $tool =3D $0; +my $get_maintainer =3D $tool; +$get_maintainer =3D~ s/add_maintainers/get_maintainer/; my $usage =3D <