git switch does not take commits
This commit is contained in:
parent
b87c78bae4
commit
d942c3164d
2 changed files with 2 additions and 2 deletions
2
build.sh
2
build.sh
|
@ -31,7 +31,7 @@ docker run --rm -i -u "$(id -u):$(id -g)" -v $PWD/ffbuild:/ffbuild "$IMAGE" bash
|
|||
|
||||
git clone https://git.videolan.org/git/ffmpeg.git ffmpeg
|
||||
cd ffmpeg
|
||||
git switch $GIT_BRANCH
|
||||
git checkout $GIT_BRANCH
|
||||
|
||||
./configure --prefix=/ffbuild/prefix \$FFBUILD_TARGET_FLAGS $CONFIGURE --extra-cflags="$CFLAGS" --extra-ldflags="$LDFLAGS"
|
||||
make -j\$(nproc)
|
||||
|
|
|
@ -16,7 +16,7 @@ ffbuild_dockerstage() {
|
|||
ffbuild_dockerbuild() {
|
||||
git clone "$X264_REPO" x264 || return -1
|
||||
pushd x264
|
||||
git switch "$X264_COMMIT" || return -1
|
||||
git checkout "$X264_COMMIT" || return -1
|
||||
|
||||
local myconf=(
|
||||
--disable-cli
|
||||
|
|
Loading…
Reference in a new issue