aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorGravatar Ralph Siemsen <ralphs@netwinder.org>2013-09-15 10:13:14 -0400
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-09-15 22:08:46 +0200
commitd245fbb41dc148a956df59658cc0dc1262612e09 (patch)
tree348d762493e14d3b83d4a684e4f60d3cada7d889 /system
parent6f1882deb4ace9c06cd7cc769eee85db12f1ab26 (diff)
downloadbuildroot-d245fbb41dc148a956df59658cc0dc1262612e09.tar.gz
buildroot-d245fbb41dc148a956df59658cc0dc1262612e09.tar.bz2
apply-patches.sh: detect missing patches
The "patch" command returns an error code only if patches fail to apply. Therefore the pipleline "cat <patchfile> | patch ..." does not fail, even if <patchfile> is missing. Fix this by adding an explicit check for patch file existence. Based on feedback from buildroot mailing list, also change the existing check for unsupported patch format into a fatal error. Signed-off-by: Ralph Siemsen <ralphs@netwinder.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'system')
0 files changed, 0 insertions, 0 deletions