buildscript: do not create .orig files during patch

Signed-off-by: Tim Niemeyer <tim@tn-x.org>
Reviewed-by: Jan Kraus <mayosemmel@gmail.com>
This commit is contained in:
Tim Niemeyer 2016-06-08 18:29:37 +02:00
parent d253a1be75
commit c5f7fda17e
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ get_source() {
patch_target() {
for patch in "$PWD"/build_patches/openwrt/*.patch; do
patch -p0 -d "$target" -i "$patch"
patch --no-backup-if-mismatch -p0 -d "$target" -i "$patch"
done
}