diff --git a/scripts/patches.sh b/scripts/patches.sh index c35a68850..7a2b4ce85 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -3,6 +3,6 @@ set -e BUILDROOT_PATCHES="buildroot-patches/" -for patch in "$BUILDROOT_PATCHES"; do - patch -d buildroot -p1 < $${patch}; +for patch_file in "$BUILDROOT_PATCHES"; do + patch -d buildroot/ -p1 < ${patch_file}; done