patchwork-apply.sh: handle OpenWrt repository structure
authorJo-Philipp Wich <jo@mein.io>
Sun, 4 Feb 2018 11:59:58 +0000 (12:59 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 4 Feb 2018 11:59:58 +0000 (12:59 +0100)
commit12b5746af6bcb3872516b834b779518fb24cdf41
tree571118e411b5bf9e443172f92aa5229bb8fb9afa
parentd90b1fabd84b66b90508d9b4eed3a3d2a2377b02
patchwork-apply.sh: handle OpenWrt repository structure

Also cope with patch files lacking a file extensions, certain versions
of the Python patchwork client appear to omit it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
patchwork-apply.sh