Signed-off-by: Jan-Tarek Butt tarek@ring0.de --- buildscript | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/buildscript b/buildscript index ae75027..53985c4 100755 --- a/buildscript +++ b/buildscript @@ -122,9 +122,11 @@ get_source() { }
patch_target() { + if test "$(ls -A "$PWD""/build_patches/openwrt/")"; then for patch in "$PWD"/build_patches/openwrt/*.patch; do patch --no-backup-if-mismatch -p0 -d "$target" -i "$patch" done + fi }
prepare() {