Skip to content

Commit

Permalink
meson: Fix perl shebang substitution in cnid2_create script (#1183)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgsga authored and rdmark committed Jul 21, 2024
1 parent 55e95c0 commit 754f788
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 13 additions & 1 deletion bin/cnid/meson.build
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
install_data('cnid2_create.in', rename: 'cnid2_create', install_dir: bindir)
cnid2create_script = configure_file(
input: 'cnid2_create.in',
output: 'cnid2_create',
configuration: cdata,
)

install_data(
cnid2create_script,
install_dir: bindir,
install_mode: 'rwxr-xr-x',
)


4 changes: 3 additions & 1 deletion bin/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ subdir('ad')
if have_ssl
subdir('afppasswd')
endif
subdir('cnid')
if perl.found() and (use_dbd_backend or use_last_backend)
subdir('cnid')
endif
subdir('misc')

0 comments on commit 754f788

Please sign in to comment.