chmod[$target], version bump
Allows setting the permissions of installed files. Defaults to 755 if unset.master
parent
086461d2cc
commit
7d15fbb3d3
|
@ -205,6 +205,7 @@ done
|
|||
function main {
|
||||
typeset -a prefixes directories
|
||||
typeset -A ldflags cflags sources type depends install auto filename nodist
|
||||
typeset -A chmod
|
||||
typeset -a tests
|
||||
|
||||
prefixes=(
|
||||
|
|
|
@ -29,7 +29,7 @@ function binary.install {
|
|||
write "${target}.install: ${target}"
|
||||
write "\t@echo '$(IN "${install}/${basename}")'"
|
||||
write "\t${Q}mkdir -p '\$(DESTDIR)${install}'"
|
||||
write "\t${Q}install -m0755 ${target} \$(DESTDIR)${install}/${basename}"
|
||||
write "\t${Q}install -m${chmod[$target]:-0755} ${target} \$(DESTDIR)${install}/${basename}"
|
||||
write
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
package=build_zsh
|
||||
version=0.3.1
|
||||
version=0.4.0
|
||||
|
||||
targets=(build.zsh)
|
||||
type[build.zsh]=script
|
||||
|
|
Loading…
Reference in New Issue