Pārlūkot izejas kodu

src/meson.build: Apply "shutdown_prefix" to symlinked shutdown utils

Fixes a case about defining shutdown_prefix does not affect symlinked
executables.

Signed-off-by: Mobin Aydinfar <mobin@mobintestserver.ir>
Mobin Aydinfar 1 mēnesi atpakaļ
vecāks
revīzija
f8df0e5dd7
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/meson.build

+ 2 - 2
src/meson.build

@@ -68,8 +68,8 @@ if build_shutdown.auto() and platform == 'linux' or build_shutdown.enabled()
     )
     foreach exec: ['reboot', 'halt', 'poweroff']
         install_symlink(
-            exec,
-            pointing_to: 'shutdown',
+            shutdown_prefix + exec,
+            pointing_to: shutdown_prefix + 'shutdown',
             install_dir: sbindir
         )
     endforeach