Browse Source

require mksh for the update-patches helper script

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 10 years ago
parent
commit
aa7670cd6d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      mk/buildhlp.mk
  2. 1 1
      scripts/update-patches

+ 1 - 1
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; \

+ 1 - 1
scripts/update-patches

@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env mksh
 # Copyright (c) 2006
 #	Thorsten Glaser <tg@freewrt.org>
 #