Pi66

Home | Repos | About | Blog | Gaza

sta
minimal & simple status monitoring app.
git clone https://git.pi66.xyz/sta

About | Files | Commits | Refs | License


build: replace cp with install in Makefile

Author: pi66
Date: 2026-04-28 22:39
commit: db4d963b

Stat

M Makefile 2 +1 -1

Diff

diff --git a/Makefile b/Makefile
index feddd90..4af8b16 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ config.h:
 	cp config.def.h config.h
 
 install: build
-	cp sta /usr/local/bin
+	install -m 755 sta /usr/local/bin/sta
 
 uninstall:
 	rm -f /usr/local/bin/sta

// Created by Pi66

// Copyright ©Pi66 2026