diff options
author | Nick Brassel <[email protected]> | 2025-04-09 10:15:14 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2025-04-09 10:15:14 +1000 |
commit | 575abc48a3064a464caaa6febf0c65215c3eb1d0 (patch) | |
tree | bb29094ad5a40f880e3f47a976c6a1d8d7a629fd /lib/python/qmk/cli/generate/make_dependencies.py | |
parent | 0ec96ddd52cd6f4851beb5f387f3bd67b306f8b8 (diff) | |
download | qmk_firmware-575abc48a3064a464caaa6febf0c65215c3eb1d0.tar.gz qmk_firmware-575abc48a3064a464caaa6febf0c65215c3eb1d0.zip |
More Windows->Unix style path fixes. (#25119)0.28.5
Diffstat (limited to 'lib/python/qmk/cli/generate/make_dependencies.py')
-rwxr-xr-x | lib/python/qmk/cli/generate/make_dependencies.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/generate/make_dependencies.py b/lib/python/qmk/cli/generate/make_dependencies.py index 331132a20f..9548187888 100755 --- a/lib/python/qmk/cli/generate/make_dependencies.py +++ b/lib/python/qmk/cli/generate/make_dependencies.py @@ -8,7 +8,7 @@ from argcomplete.completers import FilesCompleter from qmk.commands import dump_lines from qmk.keyboard import keyboard_completer, keyboard_folder from qmk.keymap import keymap_completer, locate_keymap -from qmk.path import normpath, FileType +from qmk.path import normpath, FileType, unix_style_path @cli.argument('filename', nargs='?', arg_only=True, type=FileType('r'), completer=FilesCompleter('.json'), help='A configurator export JSON.') @@ -53,4 +53,4 @@ def generate_make_dependencies(cli): for file in interesting_files: check_files.append(Path('users') / cli.args.keymap / file) - dump_lines(cli.args.output, [f'generated-files: $(wildcard {found})\n' for found in check_files]) + dump_lines(cli.args.output, [f'generated-files: $(wildcard {unix_style_path(found)})\n' for found in check_files]) |