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

Summary: updaterev.sh failed using CMake Tools on VSCode Remote
Product: SDL Reporter: Sebastian Vargas Vargas <sebvarvar>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.1   
Hardware: x86_64   
OS: Linux   
Attachments: Fixed execute_process on updaterev.sh

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