mirror of https://github.com/Hilbis/Hilbish
build!: just default to /usr/local on linux and macos
this is a common practice anyway of projects on github. package managers will install to /usr. if the user wants to change this anyway they can
parent
5441c17c59
commit
a9e324faa9
|
@ -3,7 +3,7 @@
|
|||
version: '3'
|
||||
|
||||
vars:
|
||||
PREFIX: '{{default (eq .OS "darwin" | ternary "/usr/local" "/usr") .PREFIX}}'
|
||||
PREFIX: '{{default "/usr/local" .PREFIX}}'
|
||||
bindir__: '{{.PREFIX}}/bin'
|
||||
BINDIR: '{{default .bindir__ .BINDIR}}'
|
||||
libdir__: '{{.PREFIX}}/share/hilbish'
|
||||
|
|
Loading…
Reference in New Issue