aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-24 19:12:59 +0900
committerOphestra <cat@gensokyo.uk>2026-07-24 19:12:59 +0900
commit3b7a22ff9b5d8967eb128d8fae7bb85ffbcf2024 (patch)
tree35db4616731fefd82d963dcfd862d7775444b485
parent6c2ca507b92c5cbe1abc03f5a24e037af5812e57 (diff)
cmd/dist: default to /usr/local prefix
This conventionally makes more sense for software not installed by the package manager. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--cmd/dist/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dist/main.go b/cmd/dist/main.go
index 82247dd9..74821451 100644
--- a/cmd/dist/main.go
+++ b/cmd/dist/main.go
@@ -57,7 +57,7 @@ func main() {
verbose := os.Getenv("VERBOSE") != ""
runTests := os.Getenv("HAKUREI_DIST_MAKE") == ""
version = getenv("HAKUREI_VERSION", strings.TrimSpace(version))
- prefix := getenv("PREFIX", "/usr")
+ prefix := getenv("PREFIX", "/usr/local")
destdir := getenv("DESTDIR", "dist")
if verbose {