mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
Improvements to ffmpeg decoders build script (#1110)
## Description A few improvements to the ffmpeg decoder & mpv build scripts. Mainly changes the dependency fetching so the scripts are more idempotent, though some rebuilds still always occur. ### Related issues Related to https://github.com/damontecres/Wholphin/pull/1106#issuecomment-4077678690 ### Testing Local builds ## Screenshots N/A ## AI or LLM usage None
This commit is contained in:
parent
3af9775592
commit
d184990b16
3 changed files with 25 additions and 4 deletions
|
|
@ -15,7 +15,8 @@ function clone(){
|
|||
|
||||
if [[ -d "$dir" ]]; then
|
||||
pushd "$dir" || exit
|
||||
git checkout --force "$branch"
|
||||
git fetch origin "$branch" --depth 1
|
||||
git checkout --force FETCH_HEAD
|
||||
popd || exit
|
||||
else
|
||||
git clone "$repo" --depth 1 --single-branch -b "$branch" "$dir" "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue