Pi66

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

← back to log

build: replace cp with install in Makefile

author: pi66
date: 2026-04-28 22:39
hash: db4d963b2fe14d63fae03313bd73ba13213d4ac0

Diffstat:

M

Makefile
2 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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