kumquat-buildroot/support
Yann E. MORIN d5ae67b4f4 support/apply-patches: re-instate set -e
As reported by Sébastien Szymanski [1], the apply-patches script
doesn't stop if a tar command can't extract an archive.

Use "set -e" to exit immediately if a command return an error.

Be sure to ignore any expected error: when we check if a patch to be
applied has the same basename as an already applied patch, the grep
would fail when no such patch was already applied. We should not fail
in this case.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-06 14:47:30 +02:00
..
dependencies
download support/download: don't over-remove files from git archives 2016-07-04 10:04:22 +02:00
dummy-external
gnuconfig
kconfig
legal-info legal-info: explicitly state how patches are licensed 2016-06-24 16:23:14 +02:00
libtool
misc pkg-cmake.mk: export the fortran compiler path in the CMake toolchain file 2016-07-03 16:58:11 +02:00
scripts support/apply-patches: re-instate set -e 2016-07-06 14:47:30 +02:00