We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 5250 - updaterev.sh failed using CMake Tools on VSCode Remote
Summary: updaterev.sh failed using CMake Tools on VSCode Remote
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.1
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-07 06:51 UTC by Sebastian Vargas Vargas
Modified: 2020-12-09 14:56 UTC (History)
0 users

See Also:


Attachments
Fixed execute_process on updaterev.sh (546 bytes, patch)
2020-08-07 06:51 UTC, Sebastian Vargas Vargas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Vargas Vargas 2020-08-07 06:51:48 UTC
Created attachment 4434 [details]
Fixed execute_process on updaterev.sh

Running CMake configure from a Windows Subsystem for Linux using Visual Studio Code Remote doesn't generate the header file with the current source revision, it throws "/home/sebva/SDL/build-scripts/updaterev.sh: 13: cannot create /mnt/c/Users/sebva/.vscode/extensions/ms-vscode-remote.remote-wsl-0.44.4/include/SDL_revision.h.new: Directory nonexistent".

Patch of possible fix attached.
Comment 1 Sam Lantinga 2020-12-09 14:56:59 UTC
Patch added, thanks!
https://hg.libsdl.org/SDL/rev/8b41a087bf41