Skip to content
Snippets Groups Projects
Commit 58a76be8 authored by Mehdi Sabwat's avatar Mehdi Sabwat
Browse files

add TESTED_HASH to manage vlc updates

parent be6a2022
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment