-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Git bash failing to run platform scripts on Windows due to tar conflict #509
Conversation
…led with Git bash
@@ -206,7 +206,7 @@ if exist coturn\ ( | |||
curl -L -o ./turnserver.zip "https://github.com/EpicGamesExt/PixelStreamingInfrastructure/releases/download/v4.5.2-coturn-windows/turnserver.zip" | |||
|
|||
@Rem Unarchive the .zip to a directory called "turnserver" | |||
mkdir coturn & tar -xf turnserver.zip -C coturn | |||
mkdir coturn & %SystemRoot%\System32\tar.exe -xf turnserver.zip -C coturn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would prefer if the path was a variable. ie
set TAR="%SystemRoot%\System32\tar.exe"
up near where NPM is defined. Then just use %TAR%
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: bf33b3c
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
[UE5.5] Merge pull request #509 from EpicGamesExt/RTCP-8168
Will probably need separate changes for older branches than 5.5 since the scripts changed significantly. |
It is okay, we'll leave those older branches as they are then |
Relevant components:
Problem statement:
Some users want to use Git bash on Windows to run the
platform_scripts/cmd
.This currently fails as Git bash ships its own (gnu)
tar
which does not support.zip
files.Our intent is to use (bsd)
tar
that ships with Windows.Closes #473
Solution
The solution is to explicitly call (bsd) tar which resides in
System32
Documentation
N/A
Test Plan and Compatibility
Tested with Git bash and cmd.exe both now work.