Skip to content

Commit

Permalink
Fix build-sdl.sh script error
Browse files Browse the repository at this point in the history
```
cat: HEAD: No such file or directory
````

Use the proper git command to get the commit ID for HEAD.
  • Loading branch information
meeq committed Feb 5, 2025
1 parent 04c608a commit f068dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thirdparty/SDL/build-sdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ ! -d "SDL" ]; then
else
git -C SDL fetch
fi
git -C SDL reset --hard "$(cat HEAD)"
git -C SDL reset --hard "$(git -C SDL rev-parse HEAD)"
mkdir -p SDL/build
pushd SDL/build

Expand Down

0 comments on commit f068dd7

Please sign in to comment.