Skip to content

Commit

Permalink
build: clean up unused arguments in meson_final.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
williamh committed Jul 23, 2024
1 parent 466662d commit 513ce77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,4 @@ meson.add_install_script('tools/meson_runlevels.sh',
get_option('sysvinit') ? 'yes' : 'no')
meson.add_install_script('tools/meson_final.sh',
rc_libexecdir,
sbindir,
os,
get_option('sysvinit') ? 'yes' : 'no')
os)
4 changes: 1 addition & 3 deletions tools/meson_final.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ set -e
set -u

rc_libexecdir="$1"
sbindir="$2"
os="$3"
sysvinit="$4"
os="$2"

if [ "${os}" != Linux ]; then
install -d "${DESTDIR}/${rc_libexecdir}"/init.d
Expand Down

0 comments on commit 513ce77

Please sign in to comment.