diff --git a/Makefile.fabricv4 b/Makefile.fabricv4 index e8299901..9b3ea050 100644 --- a/Makefile.fabricv4 +++ b/Makefile.fabricv4 @@ -34,7 +34,7 @@ patch: patch-post: # patch is idempotent, always starting with the generated files - for diff in $(shell find patches/post -name \*.patch | sort -n); do \ + for diff in $(shell find patches/services/${PACKAGE_NAME} -name \*.patch | sort -n); do \ patch --no-backup-if-mismatch -N -t -p1 -i $$diff; \ done diff --git a/templates/Makefile.sdk b/templates/Makefile.sdk index f721de32..cc1e82d2 100644 --- a/templates/Makefile.sdk +++ b/templates/Makefile.sdk @@ -33,7 +33,7 @@ patch: patch-post: # patch is idempotent, always starting with the generated files - for diff in $(shell find patches/post -name \*.patch | sort -n); do \ + for diff in $(shell find patches/services/${PACKAGE_NAME} -name \*.patch | sort -n); do \ patch --no-backup-if-mismatch -N -t -p1 -i $$diff; \ done