diff options
author | Bin Meng | 2022-09-08 15:28:12 +0200 |
---|---|---|
committer | Stefan Weil | 2022-10-31 10:06:11 +0100 |
commit | 93dbca2ce9f112ee8bfd641fa2ea6ff0771c6c39 (patch) | |
tree | b928015f0d532566842b6f1155dafb2cbda452cc /scripts/qemugdb/tcg.py | |
parent | scripts/nsis.py: Drop the unnecessary path separator (diff) | |
download | qemu-93dbca2ce9f112ee8bfd641fa2ea6ff0771c6c39.tar.gz qemu-93dbca2ce9f112ee8bfd641fa2ea6ff0771c6c39.tar.xz qemu-93dbca2ce9f112ee8bfd641fa2ea6ff0771c6c39.zip |
scripts/nsis.py: Fix destination directory name when invoked on Windows
"make installer" on Windows fails with the following message:
Traceback (most recent call last):
File "G:\msys64\home\foo\git\qemu\scripts\nsis.py", line 89, in <module>
main()
File "G:\msys64\home\foo\git\qemu\scripts\nsis.py", line 34, in main
with open(
OSError: [Errno 22] Invalid argument:
'R:/Temp/tmpw83xhjquG:/msys64/qemu/system-emulations.nsh'
ninja: build stopped: subcommand failed.
Use os.path.splitdrive() to form a canonical path without the drive
letter on Windows. This works with cross-build on Linux too.
Fixes: 8adfeba953e0 ("meson: add NSIS building")
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20220908132817.1831008-3-bmeng.cn@gmail.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'scripts/qemugdb/tcg.py')
0 files changed, 0 insertions, 0 deletions