mirror of
https://github.com/git/git.git
synced 2024-11-08 02:03:12 +01:00
Merge branch 'jc/maint-template-permbits'
* jc/maint-template-permbits: Fix permission bits on sources checked out with an overtight umask
This commit is contained in:
commit
ddf4104432
1 changed files with 5 additions and 3 deletions
|
@ -31,9 +31,11 @@ boilerplates.made : $(bpsrc)
|
|||
dir=`expr "$$dst" : '\(.*\)/'` && \
|
||||
mkdir -p blt/$$dir && \
|
||||
case "$$boilerplate" in \
|
||||
*--) ;; \
|
||||
*) cp -p $$boilerplate blt/$$dst ;; \
|
||||
esac || exit; \
|
||||
*--) continue;; \
|
||||
esac && \
|
||||
cp $$boilerplate blt/$$dst && \
|
||||
if test -x "blt/$$dst"; then rx=rx; else rx=r; fi && \
|
||||
chmod a+$$rx "blt/$$dst" || exit; \
|
||||
done && \
|
||||
date >$@
|
||||
|
||||
|
|
Loading…
Reference in a new issue