From nobody Sat May 4 21:10:59 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1603197613; cv=none; d=zohomail.com; s=zohoarc; b=CJ1YFMllVo9uUlrZulKbQkusjiADroZsWEaB89EhX6B0Z3slXCe918/abs0t/daFs9RXwqW/oKBoAc7jRlf83B1hSksl5DNy1fYKvGnDl6CRPWxruq4yA4sTnZC3wMcSSYnCsckapidR4NyjYoR20AmoTA7IrFDM33eLZHkodgI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1603197613; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=PqavFAEZ5cTdGstAdYlAd/8S+6nO+Bcr5/jInWJ/Ous=; b=mCjY6Y1fSFke+Lf7rY+K3O0Y/CM9MANjKWw3rNHpfLGjijb6KWW2s6uvoGzG/+IYlfjCcgUcU94b1Hi3mzv457cTkzTat5rLN5Gaf/7SluG5svWBaPNfB5PlCpSgXCwq2L5DGOYLhGtBGgBKnEilzTvRoyWlu8MowbNdr2RgR1c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) 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 1603197612963646.4891387147788; Tue, 20 Oct 2020 05:40:12 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.9520.24959 (Exim 4.92) (envelope-from ) id 1kUqvY-0006zL-Be; Tue, 20 Oct 2020 12:39:44 +0000 Received: by outflank-mailman (output) from mailman id 9520.24959; Tue, 20 Oct 2020 12:39:44 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kUqvY-0006zE-8d; Tue, 20 Oct 2020 12:39:44 +0000 Received: by outflank-mailman (input) for mailman id 9520; Tue, 20 Oct 2020 12:39:42 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kUqvV-0006z8-QS for xen-devel@lists.xenproject.org; Tue, 20 Oct 2020 12:39:42 +0000 Received: from mo4-p00-ob.smtp.rzone.de (unknown [85.215.255.25]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id f8ba0917-daaa-427c-ab01-3ca72fc8b542; Tue, 20 Oct 2020 12:39:40 +0000 (UTC) Received: from sender by smtp.strato.de (RZmta 47.2.1 DYNA|AUTH) with ESMTPSA id e003b5w9KCdVCCA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)) (Client did not present a certificate); Tue, 20 Oct 2020 14:39:31 +0200 (CEST) Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kUqvV-0006z8-QS for xen-devel@lists.xenproject.org; Tue, 20 Oct 2020 12:39:42 +0000 Received: from mo4-p00-ob.smtp.rzone.de (unknown [85.215.255.25]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id f8ba0917-daaa-427c-ab01-3ca72fc8b542; Tue, 20 Oct 2020 12:39:40 +0000 (UTC) Received: from sender by smtp.strato.de (RZmta 47.2.1 DYNA|AUTH) with ESMTPSA id e003b5w9KCdVCCA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)) (Client did not present a certificate); Tue, 20 Oct 2020 14:39:31 +0200 (CEST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f8ba0917-daaa-427c-ab01-3ca72fc8b542 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1603197579; s=strato-dkim-0002; d=aepfle.de; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=PqavFAEZ5cTdGstAdYlAd/8S+6nO+Bcr5/jInWJ/Ous=; b=MCvXTRAfywO92g61wBRufXFveVHulBBCifhqliheJ5J279JxxqpTp1xzd0KApIiMDy Pn7c9R7ELpwW/eoHjjOWpXU8eq3oNlOE9STVbMAQuPVj0VW8Tn0EaQkrSjdWetj1o1T6 lJryZsq9jFA14fsJ1kqk62ueH5VM25cGi+3i+gzFmlnmyfRmsn+vQjHUzNCQr4aH1CCt BkwBcRksw42ar2SCeP6VoZRTM7OnzXvxtyIAkaC14Y34RouEV7Q4D4sJXw3zakUmyDMg Nm7JJ/Y/sfd79XmdBuFDzJPoJaBfDvru9VMP4jL67ODLDzjoBnoSad3wbHBA4OzoWEiU C9tg== X-RZG-AUTH: ":P2EQZWCpfu+qG7CngxMFH1J+3q8wa/QXkBR9MXjAuzBW/OdlBZQ4AHSS3G1Jjw==" X-RZG-CLASS-ID: mo00 From: Olaf Hering To: xen-devel@lists.xenproject.org Cc: Olaf Hering , Ian Jackson , Wei Liu , Anthony PERARD Subject: [PATCH v1] xl: use proper name for bash_completion file Date: Tue, 20 Oct 2020 14:39:28 +0200 Message-Id: <20201020123928.27099-1-olaf@aepfle.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Files in the bash-completion dirs should be named like the commands, without suffix. Without this change 'xl' will not be recognized as a command with completion support if BASH_COMPLETION_DIR is set to /usr/share/bash-completion/completions. Fixes commit 9136a919b19929ecb242ef327053d55d824397df Signed-off-by: Olaf Hering Acked-by: Andrew Cooper --- tools/xl/Makefile | 4 ++-- tools/xl/bash-completion | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/xl/Makefile b/tools/xl/Makefile index bdf67c8464..656b21c7da 100644 --- a/tools/xl/Makefile +++ b/tools/xl/Makefile @@ -45,11 +45,11 @@ install: all $(INSTALL_DIR) $(DESTDIR)$(sbindir) $(INSTALL_DIR) $(DESTDIR)$(BASH_COMPLETION_DIR) $(INSTALL_PROG) xl $(DESTDIR)$(sbindir) - $(INSTALL_DATA) bash-completion $(DESTDIR)$(BASH_COMPLETION_DIR)/xl.sh + $(INSTALL_DATA) bash-completion $(DESTDIR)$(BASH_COMPLETION_DIR)/xl =20 .PHONY: uninstall uninstall: - rm -f $(DESTDIR)$(BASH_COMPLETION_DIR)/xl.sh + rm -f $(DESTDIR)$(BASH_COMPLETION_DIR)/xl rm -f $(DESTDIR)$(sbindir)/xl =20 .PHONY: clean diff --git a/tools/xl/bash-completion b/tools/xl/bash-completion index b7cd6b3992..7c6ed32f88 100644 --- a/tools/xl/bash-completion +++ b/tools/xl/bash-completion @@ -1,4 +1,4 @@ -# Copy this file to /etc/bash_completion.d/xl.sh +# Copy this file to /etc/bash_completion.d/xl =20 _xl() {