aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/meson_script_links.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/meson_script_links.sh b/scripts/meson_script_links.sh
index d49a433d..f13e767d 100755
--- a/scripts/meson_script_links.sh
+++ b/scripts/meson_script_links.sh
@@ -8,12 +8,12 @@ sbindir="$2"
binaries=" halt poweroff rc-sstat reboot shutdown"
for f in $binaries; do
if [ -x "${DESTDIR}${rc_libexecdir}/bin/${f}" ]; then
- ln -snf "${DESTDIR}${rc_libexecdir}/bin/${f}" \
+ ln -snf "${rc_libexecdir}/bin/${f}" \
"${DESTDIR}${sbindir}/${f}"
fi
done
# sysvinit is active when halt exits
if [ -x "${DESTDIR}${rc_libexecdir}/bin/halt" ]; then
- ln -snf "${DESTDIR}${sbindir}/openrc-init" \
+ ln -snf "${sbindir}/openrc-init" \
"${DESTDIR}${sbindir}/init"
fi