mirror of
https://github.com/git/git.git
synced 2024-11-08 10:13:18 +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" : '\(.*\)/'` && \
|
dir=`expr "$$dst" : '\(.*\)/'` && \
|
||||||
mkdir -p blt/$$dir && \
|
mkdir -p blt/$$dir && \
|
||||||
case "$$boilerplate" in \
|
case "$$boilerplate" in \
|
||||||
*--) ;; \
|
*--) continue;; \
|
||||||
*) cp -p $$boilerplate blt/$$dst ;; \
|
esac && \
|
||||||
esac || exit; \
|
cp $$boilerplate blt/$$dst && \
|
||||||
|
if test -x "blt/$$dst"; then rx=rx; else rx=r; fi && \
|
||||||
|
chmod a+$$rx "blt/$$dst" || exit; \
|
||||||
done && \
|
done && \
|
||||||
date >$@
|
date >$@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue