diff options
author | Albert Y <76888457+filterpaper@users.noreply.github.com> | 2022-07-27 17:29:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 10:29:10 +0100 |
commit | 3285659690c79807f96021002e0dc336c99c73f2 (patch) | |
tree | 59943464dc71a6859465c3d9c65d0ba06b516612 | |
parent | dc48b3fd04706417b5b499e4a38fb7c5589e41dc (diff) | |
download | qmk_firmware-3285659690c79807f96021002e0dc336c99c73f2.tar.gz qmk_firmware-3285659690c79807f96021002e0dc336c99c73f2.zip |
CLI compatibility for MacOS (#17811)
-rw-r--r-- | lib/python/qmk/submodules.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/submodules.py b/lib/python/qmk/submodules.py index 3cb232a7b5..52efa602a0 100644 --- a/lib/python/qmk/submodules.py +++ b/lib/python/qmk/submodules.py @@ -51,7 +51,7 @@ def status(): submodules[submodule]['last_log_timestamp'] = r[2] if len(r) > 2 else '' submodules[submodule]['last_log_message'] = r[3] if len(r) > 3 else '' - submodule_tags = cli.run(['git', 'submodule', '-q', 'foreach', 'echo -n "$sm_path "; git describe --tags']) + submodule_tags = cli.run(['git', 'submodule', '-q', 'foreach', '\'echo $sm_path `git describe --tags`\'']) for log_line in submodule_tags.stdout.split('\n'): if not log_line: continue |