Commit 42949e4a9c for qemu.org

commit 42949e4a9c2d06dd3b7da7dd59bee000a49112a1
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date:   Wed Feb 11 14:33:05 2026 +0400

    build-sys: use the "run" variable

    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 <marcandre.lureau@redhat.com>
    Link: https://lore.kernel.org/r/20260211103305.3112657-1-marcandre.lureau@redhat.com
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

diff --git a/meson.build b/meson.build
index 11139f540b..de00fddb2d 100644
--- a/meson.build
+++ b/meson.build
@@ -3504,7 +3504,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')