anitazha / rpms / ndctl

Forked from rpms/ndctl 2 years ago
Clone

Blame 0081-ndctl-Drop-executable-bit-for-bash-completion-script.patch

Jeff Moyer 2c91dc
From 7912cb0d19b5d17321439d118d41e57236b5484b Mon Sep 17 00:00:00 2001
Jeff Moyer 2c91dc
From: Dan Williams <dan.j.williams@intel.com>
Jeff Moyer 2c91dc
Date: Wed, 5 Jan 2022 13:32:47 -0800
Jeff Moyer 2c91dc
Subject: [PATCH 081/217] ndctl: Drop executable bit for bash-completion script
Jeff Moyer 2c91dc
Jeff Moyer 2c91dc
The rpm build process warns:
Jeff Moyer 2c91dc
Jeff Moyer 2c91dc
*** WARNING: ./usr/share/bash-completion/completions/ndctl is executable but has no shebang, removing executable bit
Jeff Moyer 2c91dc
Jeff Moyer 2c91dc
Clear the unnecessary executable bit since completion helpers are sourced,
Jeff Moyer 2c91dc
not executed.
Jeff Moyer 2c91dc
Jeff Moyer 2c91dc
Link: https://lore.kernel.org/r/164141836772.3990253.4996882214531720931.stgit@dwillia2-desk3.amr.corp.intel.com
Jeff Moyer 2c91dc
Tested-by: Alison Schofield <alison.schofield@intel.com>
Jeff Moyer 2c91dc
Tested-by: Vaibhav Jain <vaibhav@linux.ibm.com>
Jeff Moyer 2c91dc
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Jeff Moyer 2c91dc
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Jeff Moyer 2c91dc
---
Jeff Moyer 2c91dc
 contrib/ndctl | 0
Jeff Moyer 2c91dc
 1 file changed, 0 insertions(+), 0 deletions(-)
Jeff Moyer 2c91dc
 mode change 100755 => 100644 contrib/ndctl
Jeff Moyer 2c91dc
Jeff Moyer 2c91dc
diff --git a/contrib/ndctl b/contrib/ndctl
Jeff Moyer 2c91dc
old mode 100755
Jeff Moyer 2c91dc
new mode 100644
Jeff Moyer 2c91dc
-- 
Jeff Moyer 2c91dc
2.27.0
Jeff Moyer 2c91dc