From: Marc-AndrĂ© Lureau <[email protected]>

Avoid unused variables and hand-written path, this should also help meson
to figure out the relation between the commands.

Signed-off-by: Marc-AndrĂ© Lureau <[email protected]>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 38ad6820f3e..e2aa90a43de 100644
--- a/meson.build
+++ b/meson.build
@@ -3473,7 +3473,7 @@ run_config = configuration_data({'build_dir': 
meson.current_build_dir()})
 run = configure_file(input: 'run.in',
                      output: 'run',
                      configuration: run_config)
-run_command('chmod', 'a+x', meson.current_build_dir() / 'run', check: true)
+run_command('chmod', 'a+x', run, check: true)
 
 hxtool = find_program('scripts/hxtool')
 shaderinclude = find_program('scripts/shaderinclude.py')
-- 
2.52.0


Reply via email to