Skip to content

Commit

Permalink
Merge pull request #175 from mintel/INFRA-32499-fix-repatch-attempts
Browse files Browse the repository at this point in the history
Fix repatching attempts
  • Loading branch information
bcbrockway authored Dec 6, 2023
2 parents 54a3390 + 7103905 commit 7372b46
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions modules/k8s/Makefile.tanka
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ endif
k8s/tanka/charts/patch:
ifneq ("$(wildcard ./charts)", "")
ifneq ("$(wildcard ./charts/*.patch)", "")
@for f in charts/*.patch; do \
patch -d charts -p0 < $$f; \
@cd charts ;\
for f in *.patch; do \
patch --strip=0 --forward --reject-file=$$f.rej < $$f ;\
rc=$$? ;\
if [[ $$rc -gt 1 ]]; then \
exit $$rc ;\
fi ;\
done
endif
endif
Expand Down

0 comments on commit 7372b46

Please sign in to comment.