diff options
author | Ralph Siemsen <ralphs@netwinder.org> | 2013-09-15 10:13:14 -0400 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-15 22:08:46 +0200 |
commit | d245fbb41dc148a956df59658cc0dc1262612e09 (patch) | |
tree | 348d762493e14d3b83d4a684e4f60d3cada7d889 /package/gcc/gcc-initial | |
parent | 6f1882deb4ace9c06cd7cc769eee85db12f1ab26 (diff) | |
download | buildroot-d245fbb41dc148a956df59658cc0dc1262612e09.tar.gz buildroot-d245fbb41dc148a956df59658cc0dc1262612e09.zip |
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 'package/gcc/gcc-initial')
0 files changed, 0 insertions, 0 deletions