summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2014-05-03 11:07:02 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-03 14:33:12 +0200
commitaa7670cd6d2b560604f75ee93f08a37831c490ef (patch)
tree91da47e0d0f4d18966fc36e2e3768900a5e3b917
parentb0e912f902203a6ad1fbd54587dc7841c2b1ad4f (diff)
require mksh for the update-patches helper script
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
-rw-r--r--mk/buildhlp.mk2
-rw-r--r--scripts/update-patches2
2 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index ed5c4b88c..7421ff866 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -107,7 +107,7 @@ endif
done
@toedit=$$(WRKDIST='${WRKDIST}' CURDIR=$$(pwd) \
PATCH_LIST='patch-* *.patch' WRKDIR1='${WRKDIR}' \
- ${BASH} ${TOPDIR}/scripts/update-patches); \
+ 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; \
diff --git a/scripts/update-patches b/scripts/update-patches
index f4303f841..8d7559a5c 100644
--- a/scripts/update-patches
+++ b/scripts/update-patches
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env mksh
# Copyright (c) 2006
# Thorsten Glaser <tg@freewrt.org>
#