Scintilla update script: properly abort on lexer copy error

This commit is contained in:
Colomban Wendling 2015-09-20 17:53:13 +02:00
parent 7c0bb4c6ca
commit c081983e85

View File

@ -50,7 +50,7 @@ cp -v "$SCI_SRC"/version.txt scintilla || exit 1
# now copy the lexers we use
git ls-files scintilla/lexers/*.cxx | sed 's%^scintilla/%./%' | while read f; do
cp -v "$SCI_SRC/$f" "scintilla/$f" || exit 1
done
done || exit 1
# apply our patch
git apply -p0 scintilla/scintilla_changes.patch || {