apply-patches.sh: add recursivity when scanning patchdir
authorLudovic Desroches <ludovic.desroches@atmel.com>
Wed, 21 Mar 2012 13:26:27 +0000 (14:26 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 21 Mar 2012 12:47:27 +0000 (13:47 +0100)
commit64ac7199525f3dbd0ce49f7ec31715a2a1b63725
tree8d654fb846ff291e276025b92a7f3a60f6c60668
parentc9ccdf877a6a5af54ac8b6d2809361ed1ddcc221
apply-patches.sh: add recursivity when scanning patchdir

Recursivity is needed with some tarballs containing debian patches:
.
  debian
    changelog
    control
    patches
      02-COPYRIGHT.patch
[...]

Since we can find some files which are not patches in those directories, only
consider .patch* and .diff* files as valid patches.
Due to recursivity, strip-components option is no more necessary so it has
been removed.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
support/scripts/apply-patches.sh