apply-patches: run patch in batch mode
authorArnout Vandecappelle <arnout@mind.be>
Thu, 22 Aug 2013 18:02:13 +0000 (20:02 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 27 Aug 2013 20:28:32 +0000 (22:28 +0200)
commit5871b791995ebe295db7dca608afe3f293ce8953
tree65e4f0c0aea66c738ea6c90ed7f056db755ba665
parentf627ebeb79930e00b25eb376554ff2b68cd077c5
apply-patches: run patch in batch mode

If the file to be patched is missing, then `patch' will interactively
ask for a file to be patched. This is annoying in e.g. the autobuilders
because they have to wait for a timeout instead of failing.

Giving the '-t' (batch mode) option to patch fixes this: it will skip the
missing file, and return a non-zero exit code. So the build cleanly
fails.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
support/scripts/apply-patches.sh