Skip to content
Snippets Groups Projects
Commit c289ef58 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf
Browse files

buildsystem: Initialize the submodules after git reset

In order to initialize the submodule to the proper version for the
targeted hash
parent 11240c1d
No related branches found
No related tags found
No related merge requests found
......@@ -89,8 +89,8 @@ if [ ! -d "${MEDIALIBRARY_MODULE_DIR}/medialibrary" ]; then
avlc_checkfail "medialibrary source: git clone failed"
cd ${MEDIALIBRARY_MODULE_DIR}/medialibrary
# git checkout 0.5.x
git submodule update --init libvlcpp
git reset --hard ${MEDIALIBRARY_HASH}
git submodule update --init libvlcpp
else
cd ${MEDIALIBRARY_MODULE_DIR}/medialibrary
if ! git cat-file -e ${MEDIALIBRARY_HASH}; then
......
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