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).
This commit is contained in:
Todd Zullinger 2017-11-11 23:20:53 -05:00
parent 6dc6285283
commit 2fd0c5cf45

View File

@ -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 \