Skip to content
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 build-sdl.sh script error #1815

Closed
wants to merge 1 commit into from
Closed

Conversation

meeq
Copy link
Contributor

@meeq meeq commented Feb 5, 2025

The SDL build script fails:

./thirdparty/SDL/build-sdl.sh 
Cloning into 'SDL'...
remote: Enumerating objects: 193100, done.
remote: Counting objects: 100% (48982/48982), done.
remote: Compressing objects: 100% (1282/1282), done.
remote: Total 193100 (delta 47990), reused 47700 (delta 47700), pack-reused 144118 (from 1)
Receiving objects: 100% (193100/193100), 102.69 MiB | 15.18 MiB/s, done.
Resolving deltas: 100% (147983/147983), done.
cat: HEAD: No such file or directory
fatal: ambiguous argument '': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

This change uses the proper git command to get the commit ID for HEAD. Tested successfully.

```
cat: HEAD: No such file or directory
````

Use the proper git command to get the commit ID for HEAD.
@meeq meeq closed this Feb 5, 2025
@meeq
Copy link
Contributor Author

meeq commented Feb 5, 2025

Closing this PR; this fix is not quite right, and does not fully resolve the issue.

@jcm93
Copy link
Contributor

jcm93 commented Feb 5, 2025

This script is also only relevant for the legacy build system and faces imminent removal.

@meeq meeq deleted the sdl-build-error branch February 5, 2025 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants