From 98706c4f1fa6389884d4f647ccbbc70206276b13 Mon Sep 17 00:00:00 2001 From: paring Date: Tue, 2 May 2023 23:46:59 +0900 Subject: [PATCH] fix: cannot clone --- scripts/build-openh264.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/build-openh264.sh b/scripts/build-openh264.sh index 56648d5..36b340b 100644 --- a/scripts/build-openh264.sh +++ b/scripts/build-openh264.sh @@ -12,12 +12,10 @@ export OPENH264_VERSION=2.3.1 export projectDir=$workDir/openh264 -git clone https://github.com/cisco/openh264 $projectDir --depth 1 +git clone https://github.com/cisco/openh264 $projectDir -b v$OPENH264_VERSION --depth 1 cd $projectDir -git checkout tags/v$OPENH264_VERSION -b v$OPENH264_VERSION - args="PREFIX=$PREFIX ARCH=$ARCH" make clean