]> git.sesse.net Git - plocate/commitdiff
Reuse the locategroup option for the setgid.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sun, 29 Nov 2020 14:07:37 +0000 (15:07 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sun, 29 Nov 2020 14:07:37 +0000 (15:07 +0100)
meson.build

index aab3384fe20fe32d91c9786529f9c509a53fd52c..cb2404f5568eb83fe3db81e0cda6161a75f1ca06 100644 (file)
@@ -34,7 +34,7 @@ endif
 executable('plocate', ['plocate.cpp', 'io_uring_engine.cpp', 'turbopfor.cpp', 'parse_trigrams.cpp', 'serializer.cpp', 'access_rx_cache.cpp', 'needle.cpp', 'complete_pread.cpp'],
        dependencies: [uringdep, zstddep, threaddep, atomicdep],
        install: true,
-       install_mode: ['rwxr-sr-x', 'root', 'plocate'])
+       install_mode: ['rwxr-sr-x', 'root', get_option('locategroup')])
 executable('plocate-build', ['plocate-build.cpp', 'database-builder.cpp'],
        dependencies: [zstddep],
        install: true,