]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - catalog/meson.build
meson: call find_program() once and reuse the variable everywhere
[thirdparty/systemd.git] / catalog / meson.build
index d61fc2cbf6ee95a8233b824246dce6203b364cc1..d34e413d4f14e6d2ad6ff4dd8413892104415f71 100644 (file)
@@ -29,6 +29,5 @@ foreach file : in_files
                 install_dir : catalogdir)
 endforeach
 
-meson.add_install_script('sh', '-c',
-                         'test -n "$DESTDIR" || @0@/journalctl --update-catalog'
-                         .format(rootbindir))
+meson.add_install_script(sh, '-c',
+                         'test -n "$DESTDIR" || @0@/journalctl --update-catalog'.format(rootbindir))