Re: [PATCH 19/40] Windows: Change the name of hook scripts to make them not executable.
- From
Johannes Sixt <johannes.sixt@telecom.at>
- Date
- Feb 28, 2008, 20:48 UTC
- Message-ID
- <200802282148.47485.johannes.sixt@telecom.at>
- In-Reply-To
- <alpine.LSU.1.00.0802281519300.22527@racer.site>
On Thursday 28 February 2008 16:20, Johannes Schindelin wrote:
Show 9 quoted lines
> On Wed, 27 Feb 2008, Johannes Sixt wrote:
> > - *) 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?Because some of the files are not hooks. Or do you mean to check for the files hooks--* explicitly?
-- Hannes