Commit 1683ad70 authored by Edward Wang's avatar Edward Wang
Browse files

Abort git-am if applying the patches failed

parent d4607fef
......@@ -44,6 +44,11 @@ if [ ! -d "vlc" ]; then
git checkout -B android ${TESTED_HASH}
echo "Applying the patches"
git am ../patches/*.patch
if [ $? -ne 0 ]; then
git am --abort
echo "Applying the patches failed, aborting git-am"
exit 1
echo "VLC source found"
cd vlc
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