Skip to content

Refine .bat fix for escaped closing quote#33987

Open
Wovchena wants to merge 3 commits intoopenvinotoolkit:masterfrom
Wovchena:refine-fix
Open

Refine .bat fix for escaped closing quote#33987
Wovchena wants to merge 3 commits intoopenvinotoolkit:masterfrom
Wovchena:refine-fix

Conversation

@Wovchena
Copy link
Contributor

@Wovchena Wovchena commented Feb 5, 2026

@Wovchena Wovchena requested review from Copilot, olpipi and praasz February 5, 2026 16:46
@Wovchena Wovchena requested review from a team as code owners February 5, 2026 16:46
@Wovchena Wovchena requested review from mlukasze and removed request for a team February 5, 2026 16:46
@github-actions github-actions bot added the category: samples OpenVINO Runtime Samples label Feb 5, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the handling of escaped closing quotes in the batch file by moving the workaround earlier in the script. Instead of appending \. to SAMPLES_SOURCE_DIR when passing it to CMake, the fix now appends a dot directly when setting the variable, simplifying the code and removing verbose comments.

Changes:

  • Modified SAMPLES_SOURCE_DIR initialization to append a dot, preventing the trailing backslash from escaping the closing quote
  • Updated the FOR loop to use the corrected directory path without needing \. workaround
  • Removed lengthy explanatory comments from the CMake command line, replacing them with concise comments at variable initialization

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Wovchena Wovchena requested a review from Copilot February 5, 2026 16:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Wovchena Wovchena requested a review from Copilot February 5, 2026 16:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: samples OpenVINO Runtime Samples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant