Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Prefer dash to bash when searching for a usable shell.
details: https://anonhg.NetBSD.org/src/rev/e83966aedd10
branches: trunk
changeset: 332602:e83966aedd10
user: apb <apb%NetBSD.org@localhost>
date: Tue Sep 30 14:57:51 2014 +0000
description:
Prefer dash to bash when searching for a usable shell.
I have tested a complete build with HOST_SH=dash on NetBSD.
diffstat:
build.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 576960eb7552 -r e83966aedd10 build.sh
--- a/build.sh Tue Sep 30 14:24:26 2014 +0000
+++ b/build.sh Tue Sep 30 14:57:51 2014 +0000
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.297 2014/09/19 17:59:57 matt Exp $
+# $NetBSD: build.sh,v 1.298 2014/09/30 14:57:51 apb Exp $
#
# Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -204,7 +204,7 @@
if test -n "$errmsg"; then
if $re_exec_allowed; then
for othershell in \
- "${HOST_SH}" /usr/xpg4/bin/sh ksh ksh88 mksh pdksh bash dash
+ "${HOST_SH}" /usr/xpg4/bin/sh ksh ksh88 mksh pdksh dash bash
# NOTE: some shells known not to work are:
# any shell using csh syntax;
# Solaris /bin/sh (missing many modern features);
@@ -1870,7 +1870,7 @@
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.297 2014/09/19 17:59:57 matt Exp $
+# Generated from: \$NetBSD: build.sh,v 1.298 2014/09/30 14:57:51 apb Exp $
# with these arguments: ${_args}
#
Home |
Main Index |
Thread Index |
Old Index