summaryrefslogtreecommitdiff
path: root/mk/buildhlp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/buildhlp.mk')
-rw-r--r--mk/buildhlp.mk11
1 files changed, 2 insertions, 9 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index 7421ff866..3262a25cb 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -105,14 +105,7 @@ endif
mv $$i.bak $$i; \
fi;\
done
- @toedit=$$(WRKDIST='${WRKDIST}' CURDIR=$$(pwd) \
- PATCH_LIST='patch-* *.patch' WRKDIR1='${WRKDIR}' \
- PATH='${HOST_PATH}' mksh ${TOPDIR}/scripts/update-patches); \
- if [[ -n $$toedit && $$toedit != FAIL ]]; then \
- echo -n 'edit patches: '; read i; \
- cd patches && $${VISUAL:-$${EDITOR:-vi}} $$toedit; \
- fi; \
- rm -rf ${WRKDIR}.orig; \
- [[ $$toedit != FAIL ]]
+ @WRKDIST='${WRKDIST}' WRKDIR1='${WRKDIR}' \
+ PATH='${HOST_PATH}' mksh ${TOPDIR}/scripts/update-patches2
.PHONY: update-patches host-update-patches