Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/bin/sh/dotcmd Run scripts at build time via ${HOST_SH}



details:   https://anonhg.NetBSD.org/src/rev/0890bc63bff3
branches:  trunk
changeset: 797791:0890bc63bff3
user:      apb <apb%NetBSD.org@localhost>
date:      Sun Jul 27 14:24:17 2014 +0000

description:
Run scripts at build time via ${HOST_SH}

diffstat:

 tests/bin/sh/dotcmd/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fce3e49bd6ad -r 0890bc63bff3 tests/bin/sh/dotcmd/Makefile
--- a/tests/bin/sh/dotcmd/Makefile      Sun Jul 27 14:02:48 2014 +0000
+++ b/tests/bin/sh/dotcmd/Makefile      Sun Jul 27 14:24:17 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2014/05/31 14:29:06 christos Exp $
+# $NetBSD: Makefile,v 1.2 2014/07/27 14:24:17 apb Exp $
 #
 
 .include <bsd.own.mk>
@@ -19,7 +19,7 @@
 FILESBUILD_${cmd}_${cmd_scope} = yes
 
 ${cmd}_${cmd_scope}: scoped_command
-       ${.CURDIR}/scoped_command '${cmd_scope}' '${cmd}' '${cmd}' \
+       ${HOST_SH} ${.CURDIR}/scoped_command '${cmd_scope}' '${cmd}' '${cmd}' \
                >'${.TARGET}'
 
 .  for dot_scope in case compound file for func subshell until while
@@ -31,7 +31,7 @@
 FILESMODE_${dot_scope}_${cmd}_${cmd_scope} = ${BINMODE}
 
 ${dot_scope}_${cmd}_${cmd_scope}: scoped_command
-       ${.CURDIR}/scoped_command '${dot_scope}' \
+       ${HOST_SH} ${.CURDIR}/scoped_command '${dot_scope}' \
                '. "${cmd}_${cmd_scope}"' 'dotcmd' 'dotcmd' >'${.TARGET}'
 .  endfor
 . endfor



Home | Main Index | Thread Index | Old Index