diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2021-12-29 15:57:04 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-12-29 15:57:04 -0600 |
commit | cab458e27afe8dda78bef7c3605830f418d83ed1 (patch) | |
tree | 28b5f4d3d459efab3829ddab2a795d74f8be770f | |
parent | 6e214b261604c4ab1ffc244272443a587bb59927 (diff) |
build: rename sh_dir variable to rc_shdir
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | sh/meson.build | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/meson.build b/meson.build index 9b16d088..e21fae65 100644 --- a/meson.build +++ b/meson.build @@ -99,6 +99,7 @@ libexecdir = rootprefix / libexecdir rc_libexecdir = libexecdir / 'rc' rc_bindir = rc_libexecdir / 'bin' rc_sbindir = rc_libexecdir / 'sbin' +rc_shdir = rc_libexecdir / 'sh' sbindir = rootprefix / get_option('sbindir') crypt_dep = [] diff --git a/sh/meson.build b/sh/meson.build index 6469a8da..e8849d40 100644 --- a/sh/meson.build +++ b/sh/meson.build @@ -12,8 +12,6 @@ sh_conf_data.set('SBINDIR', sbindir) sh_conf_data.set('SHELL', get_option('shell')) sh_conf_data.set('SYSCONFDIR', get_option('sysconfdir')) -sh_dir = rc_libexecdir / 'sh' - sh = [ 'rc-functions.sh', 'rc-mount.sh', @@ -59,19 +57,19 @@ else endif install_data(sh, - install_dir : sh_dir) + install_dir : rc_shdir) foreach file : sh_config configure_file(input : file, output : '@BASENAME@', configuration : sh_conf_data, - install_dir : sh_dir) + install_dir : rc_shdir) endforeach foreach file : scripts_config configure_file(input : file, output : '@BASENAME@', configuration : sh_conf_data, - install_dir : sh_dir, + install_dir : rc_shdir, install_mode : 'rwxr-xr-x') endforeach @@ -79,6 +77,6 @@ foreach file : scripts_config_os configure_file(input : file.get(0), output : file.get(1), configuration : sh_conf_data, - install_dir : sh_dir, + install_dir : rc_shdir, install_mode : 'rwxr-xr-x') endforeach |