Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit b35686f

Browse files
committed
Update dependency install scripts
1 parent 1974360 commit b35686f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

scripts/installCommonDeps.sh

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,16 +236,18 @@ install_libexpat() {
236236
fi
237237
}
238238

239-
install_webrtc79(){
240-
$INCR_INSTALL && [[ -s $ROOT/third_party/webrtc-m79/libwebrtc.a ]] && \
239+
install_webrtc88(){
240+
local OWT_WEBRTC_PATH="$ROOT/third_party/webrtc-m88"
241+
242+
$INCR_INSTALL && [[ -s $OWT_WEBRTC_PATH/libwebrtc.a ]] && \
241243
echo "libwebrtc already installed." && return 0
242244

243-
[[ ! -d $ROOT/third_party/webrtc-m79 ]] && \
244-
mkdir $ROOT/third_party/webrtc-m79
245+
[[ ! -d $OWT_WEBRTC_PATH ]] && \
246+
mkdir $OWT_WEBRTC_PATH
245247

246-
pushd ${ROOT}/third_party/webrtc-m79 >/dev/null
247-
. $PATHNAME/installWebrtc.sh
248-
popd
248+
pushd $OWT_WEBRTC_PATH >/dev/null
249+
. $PATHNAME/installWebrtc.sh
250+
popd >/dev/null
249251
}
250252

251253
install_webrtc(){
@@ -272,7 +274,7 @@ install_webrtc(){
272274
./src/tools-woogeen/build.sh
273275
popd
274276

275-
install_webrtc79
277+
install_webrtc88
276278
}
277279

278280
install_licode(){

0 commit comments

Comments
 (0)