summaryrefslogtreecommitdiff
path: root/mk/buildhlp.mk
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2014-05-03 11:29:42 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-03 14:33:12 +0200
commit166aa788c57b5f842f89787b7d22dc47bc746602 (patch)
tree25f3a1511b301c66136b6eff599c8fe4e431a5ae /mk/buildhlp.mk
parentfe8d93fb5856f5a60da3125b9a4c17c85d9b5edc (diff)
move calling update-patches into a separate mksh script update-patches2 handling quoting much better
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
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