Skip to content

build: Remove grep warning about stray backslash before white space - #7349

Merged
HuidaeCho merged 1 commit into
OSGeo:mainfrom
HuidaeCho:grep_no_stray_backslash
Apr 28, 2026
Merged

HuidaeCho merged 1 commit into
OSGeo:mainfrom
HuidaeCho:grep_no_stray_backslash

Conversation

@HuidaeCho

Copy link
Copy Markdown
Member

This PR removes grep: warning: stray \ before white space by replacing spaces with dots (hopefully, acceptable; also consistent with findstr expression). CMake breaks and merges string pieces in a shell-safe way, adding a backslash before a white space, causing these warnings.

The previous grep command became:

grep -v '</body>\|</html>\|</div>\ <!--\ end\ container\ -->'

@github-actions github-actions Bot added the CMake label Apr 28, 2026
@HuidaeCho
HuidaeCho merged commit 4470ffd into OSGeo:main Apr 28, 2026
26 checks passed
@HuidaeCho
HuidaeCho deleted the grep_no_stray_backslash branch April 28, 2026 12:20
@github-actions github-actions Bot added this to the 8.6.0 milestone Apr 28, 2026
@HuidaeCho HuidaeCho added the backport to 8.5 PR needs to be backported to release branch 8.5 label May 6, 2026
@wenzeslaus wenzeslaus removed the backport to 8.5 PR needs to be backported to release branch 8.5 label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants