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

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

📋 Pull Request Information

Original PR: https://github.com/qemu/qemu/pull/7
Author: @trisys3
Created: 3/10/2014
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 55d6b97 quoted /VERSION in case of paths with quotes

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 configure (+1 -1)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/qemu/qemu/pull/7 **Author:** [@trisys3](https://github.com/trisys3) **Created:** 3/10/2014 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`55d6b97`](https://github.com/qemu/qemu/commit/55d6b97583b50c79bd01678a4414919a7b5a2465) quoted /VERSION in case of paths with quotes ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `configure` (+1 -1) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#11