From 2fd0c5cf45ba70eaaf9d93c40ad1742f2af58349 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Sat, 11 Nov 2017 23:20:53 -0500 Subject: [PATCH] Remove unneeded cleanup of shebang in bash-completion script In older versions of git, the bash-completion script began with a needless #!bash, which we removed before installation. This and other unneeded shebangs were removed upstream in 1.9.0, 11d62145b9 (remove #!interpreter line from shell libraries, 2013-11-25). --- git.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/git.spec b/git.spec index e3b876b..4affaf2 100644 --- a/git.spec +++ b/git.spec @@ -445,9 +445,6 @@ make -C contrib/credential/netrc/ make -C contrib/subtree/ -# Remove shebang from bash-completion script -sed -i '/^#!bash/,+1 d' contrib/completion/git-completion.bash - # Fix shebang in a few places to silence rpmlint complaints sed -i -e '1s|#! */usr/bin/env python$|#!%{__python2}|' \ contrib/fast-import/import-zips.py \