From aab4acc7fa718a75693f1633a0f4f3435a785eb2 Mon Sep 17 00:00:00 2001 From: Javier Villavicencio Date: Thu, 1 Apr 2010 08:20:18 +0000 Subject: Fix several scripts errors that expect configure setting bash as the running shell. --- profiles/default/bsd/ChangeLog | 7 ++++++- profiles/default/bsd/fbsd/profile.bashrc | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'profiles/default') diff --git a/profiles/default/bsd/ChangeLog b/profiles/default/bsd/ChangeLog index a712bfc62d90..50064bc284a8 100644 --- a/profiles/default/bsd/ChangeLog +++ b/profiles/default/bsd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for profile directory # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/ChangeLog,v 1.31 2010/03/16 02:25:31 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/ChangeLog,v 1.32 2010/04/01 08:20:18 the_paya Exp $ + + 01 Apr 2010; Javier Villavicencio + fbsd/profile.bashrc: + Point CONFIG_SHELL to /bin/bash, fixes scripts called by configure, ie: + test scripts, that expect bash. 16 Mar 2010; Javier Villavicencio fbsd/profile.bashrc: diff --git a/profiles/default/bsd/fbsd/profile.bashrc b/profiles/default/bsd/fbsd/profile.bashrc index a22e22aae70d..82d6465c171c 100644 --- a/profiles/default/bsd/fbsd/profile.bashrc +++ b/profiles/default/bsd/fbsd/profile.bashrc @@ -1,12 +1,17 @@ #!/bin/bash # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.5 2010/03/16 02:25:33 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc,v 1.6 2010/04/01 08:20:18 the_paya Exp $ alias make=gmake alias patch=gpatch alias sed=gsed alias awk=gawk +# Attempt to point the default SHELL used by configure scripts to bash. +# while most should work with BSD's bourne just fine, the extra scripts +# used by some applications (specially test scripts) use way too many bashisms. +export CONFIG_SHELL="/bin/bash" + # Hack to avoid every package that uses libiconv/gettext # install a charset.alias that will collide with libiconv's one # See bugs 169678, 195148 and 256129. -- cgit v1.2.3-65-gdbad