[PR #7] quoted source_path/VERSION in cut command in case of paths with quotes #16

Open
opened 2026-01-31 21:29:22 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/qemu/qemu/pull/7

State: closed
Merged: No


When I tried to run ./configure on a Windows 8.1 machine with msysGit, it failed with the error "cut: /c/Program: No such file or directory
cut: Archives/Programs/qemu/VERSION: No such file or directory". I determined it was because the call to cut in this file wasn't built for spaces, so I quoted it and here we are.
I have not tested it with any other OS, but it should work on other Windows versions, the latest Mac OS X and the main Linuxes.

**Original Pull Request:** https://github.com/qemu/qemu/pull/7 **State:** closed **Merged:** No --- When I tried to run ./configure on a Windows 8.1 machine with msysGit, it failed with the error "cut: /c/Program: No such file or directory\ cut: Archives/Programs/qemu/VERSION: No such file or directory". I determined it was because the call to `cut` in this file wasn't built for spaces, so I quoted it and here we are. I have not tested it with any other OS, but it should work on other Windows versions, the latest Mac OS X and the main Linuxes.
claunia added the pull-request label 2026-01-31 21:29:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/qemu#16