Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Milan Raj
vlc.js
Commits
58a76be8
Commit
58a76be8
authored
Mar 10, 2020
by
Mehdi Sabwat
Browse files
add TESTED_HASH to manage vlc updates
parent
be6a2022
Changes
1
Hide whitespace changes
Inline
Side-by-side
compile.sh
View file @
58a76be8
...
...
@@ -26,11 +26,15 @@ if [ ! -d emsdk ]; then
fi
cd
$WORK_DIR
TESTED_HASH
=
"7bad2a86"
# Go go go vlc
if
[
!
-d
vlc
]
;
then
diagnostic
"VLC source not found, cloning"
git clone http://git.videolan.org/git/vlc.git vlc
git clone http://git.videolan.org/git/vlc.git vlc
||
checkfail
"VLC source: git clone failed"
cd
vlc
diagnostic
"VLC source: resetting to the TESTED_HASH commit (
${
TESTED_HASH
}
)"
git reset
--hard
${
TESTED_HASH
}
||
checkfail
"VLC source: TESTED_HASH
${
TESTED_HASH
}
not found"
cd
..
checkfail
"vlc source: git clone failed"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment