aboutsummaryrefslogtreecommitdiff
path: root/core/sinit/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-15 21:07:37 +0300
committerCem Keylan <cem@ckyln.com>2020-05-15 21:07:37 +0300
commit155693efb8c44f1b0169c1b348e6be93a24922de (patch)
tree9ee0c4e1fb04bd75ac33659cd46ca856686a6a75 /core/sinit/build
parent8cacb07a4048b2b2d50a9a0fc124d45f38eefd96 (diff)
downloadrepository-155693efb8c44f1b0169c1b348e6be93a24922de.tar.gz
sinit: portable install calls
Diffstat (limited to 'core/sinit/build')
-rwxr-xr-xcore/sinit/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/sinit/build b/core/sinit/build
index f543146d..e85d78aa 100755
--- a/core/sinit/build
+++ b/core/sinit/build
@@ -3,4 +3,5 @@
make CFLAGS="$CFLAGS -static" PREFIX=/usr DESTDIR="$1" install
ln -s sinit "$1/usr/bin/init"
-install -Dm755 -t "$1/usr/bin" poweroff reboot
+install -Dm755 poweroff "$1/usr/bin/poweroff"
+install -Dm755 reboot "$1/usr/bin/reboot"