This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=8014189a3e4093e6ab6de8cd3e7337afafe4ca68

commit 8014189a3e4093e6ab6de8cd3e7337afafe4ca68
Author: Guillem Jover <[email protected]>
AuthorDate: Tue Nov 9 05:02:28 2021 +0100

    scripts: Replace shebang in dpkg-error shell library with shellcheck 
directive
    
    We need to tell shellcheck what shell dialect the script is written in,
    but using a shebang trips other linters in considering it an actual
    program to run which requires executable bits.
    
    Warned-by: lintian
---
 scripts/sh/dpkg-error.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/sh/dpkg-error.sh b/scripts/sh/dpkg-error.sh
index 9913151d8..b7f968e03 100644
--- a/scripts/sh/dpkg-error.sh
+++ b/scripts/sh/dpkg-error.sh
@@ -1,4 +1,3 @@
-#!/bin/sh
 #
 # Copyright © 2010 Raphaël Hertzog <[email protected]>
 # Copyright © 2011-2015 Guillem Jover <[email protected]>
@@ -15,6 +14,8 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
+#
+# shellcheck shell=sh
 
 # Standard ANSI colors and attributes.
 COLOR_NORMAL=''

-- 
Dpkg.Org's dpkg

Reply via email to