Re: [PATCH 19/40] Windows: Change the name of hook scripts to make them not executable.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 28, 2008, 15:20 UTC
- Message-ID
- <alpine.LSU.1.00.0802281519300.22527@racer.site>
- In-Reply-To
- <1204138503-6126-20-git-send-email-johannes.sixt@telecom.at>
Hi,
On Wed, 27 Feb 2008, Johannes Sixt wrote:
Show 6 quoted lines
> - *) cp $$boilerplate blt/$$dst ;; \
> + *) if test -n "$$(sed -ne '/^#!\//p' -e '1q' < "$$boilerplate")"; then \
> + cp "$$boilerplate" "blt/$${dst}$(NOEXECTEMPL)"; \
> + else \
> + cp "$$boilerplate" "blt/$$dst"; \
> + fi ;; \Why not just append .noexec to all of the hooks?
Ciao, Dscho