Skip to content

Commit e78ecbd

Browse files
committed
try --force
1 parent 10be7e5 commit e78ecbd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

config.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,24 @@ fi
2929
if [ -n "$IS_OSX" ]; then
3030

3131
source travis_osx_brew_cache.sh
32-
32+
3333
BREW_SLOW_BUILIDING_PACKAGES=$(printf '%s\n' \
3434
"x265 20" \
3535
"cmake 15" \
3636
"ffmpeg_opencv 10" \
3737
)
38-
38+
3939
#Contrib adds significantly to project's build time
4040
if [ "$ENABLE_CONTRIB" -eq 1 ]; then
4141
BREW_TIME_LIMIT=$((BREW_TIME_LIMIT - 10*60))
4242
fi
43-
43+
4444
function generate_ffmpeg_formula {
4545
local FF="ffmpeg"
4646
local LFF="ffmpeg_opencv"
4747
local FF_FORMULA; FF_FORMULA=$(brew formula "$FF")
4848
local LFF_FORMULA; LFF_FORMULA="$(dirname "$FF_FORMULA")/${LFF}.rb"
49-
49+
5050
local REGENERATE
5151
if [ -f "$LFF_FORMULA" ]; then
5252
local UPSTREAM_VERSION VERSION
@@ -82,7 +82,7 @@ if (/^\s*depends_on "(x264|x265|xvid)"$/) {$_=""; next;}
8282
)
8383
fi
8484
}
85-
85+
8686
fi
8787

8888
function pre_build {
@@ -91,8 +91,8 @@ function pre_build {
9191

9292
if [ -n "$IS_OSX" ]; then
9393
echo "Running for OSX"
94-
95-
brew update --merge
94+
95+
brew update --force
9696
brew_add_local_bottles
9797

9898
# Don't query analytical info online on `brew info`,

0 commit comments

Comments
 (0)