X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=templates%2FMakefile;h=0722a926f71fb91a03a916e02fea456e8cc0086d;hb=dde4af4313c6fba5269df384d97ef4fa3ab5971d;hp=cc3fc3094cbbf1e15dff9cd1f3fc80e92d6be06e;hpb=0a8eb7bae5101a3c1f550d67f1d4c0879dd417da;p=git.git diff --git a/templates/Makefile b/templates/Makefile index cc3fc3094..0722a926f 100644 --- a/templates/Makefile +++ b/templates/Makefile @@ -23,13 +23,13 @@ all: boilerplates.made custom bpsrc = $(filter-out %~,$(wildcard *--*)) boilerplates.made : $(bpsrc) - $(QUIET)ls *--* 2>/dev/null | \ + $(QUIET)umask 022 && ls *--* 2>/dev/null | \ while read boilerplate; \ do \ case "$$boilerplate" in *~) continue ;; esac && \ dst=`echo "$$boilerplate" | sed -e 's|^this|.|;s|--|/|g'` && \ dir=`expr "$$dst" : '\(.*\)/'` && \ - $(INSTALL) -d -m 755 blt/$$dir && \ + mkdir -p blt/$$dir && \ case "$$boilerplate" in \ *--) ;; \ *) cp -p $$boilerplate blt/$$dst ;; \