Commit ba48d0f4 authored by Geoffrey Métais's avatar Geoffrey Métais

Fix patches ignored in release builds

parent c254ef00
......@@ -246,7 +246,9 @@ if [ ! -d "vlc" ]; then
diagnostic "VLC source not found, cloning"
git clone https://git.videolan.org/git/vlc/vlc-3.0.git vlc
checkfail "vlc source: git clone failed"
cd vlc && git am ../libvlc/patches/vlc3/*.patch && cd ..
if [ "$RELEASE" != 1 ]; then
cd vlc && git am ../libvlc/patches/vlc3/*.patch && cd ..
fi
fi
diagnostic "VLC source found"
cd vlc
......@@ -260,6 +262,7 @@ EOF
fi
if [ "$RELEASE" = 1 ]; then
git reset --hard ${TESTED_HASH}
git am ../libvlc/patches/vlc3/*.patch
fi
cd ..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment