projects
/
user
/
alex
/
software
/
my-snippets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b05cb06
)
Install scripts read-only
author
Alex Dehnert
<adehnert@mit.edu>
Sun, 18 Nov 2012 23:37:28 +0000
(18:37 -0500)
committer
Alex Dehnert
<adehnert@mit.edu>
Sun, 18 Nov 2012 23:37:28 +0000
(18:37 -0500)
Switch from using cp to using install to install scripts, and install them 555
to reduce the risk of accidentally changing the installed scripts and not this
repo.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 159ff728a9ddb30c3c1154828009d385a41f3a04..fbe3e67c6e49ec919ae5da1802365b083f067998 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-24,7
+24,7
@@
arches=\
all : install
$(common)/% : %
-
cp
$< $@
+
install -c -m 555
$< $@
$(foreach script,$(scripts),$(foreach arch,$(arches),$(archdir)/$(arch)/bin/$(script))) :
#$(archdir)/*/bin/* :