summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Villavicencio <the_paya@gentoo.org>2010-04-01 08:20:18 +0000
committerJavier Villavicencio <the_paya@gentoo.org>2010-04-01 08:20:18 +0000
commitaab4acc7fa718a75693f1633a0f4f3435a785eb2 (patch)
tree4d71f42ff7774062d0c4d8ba414288ea9879b5f6 /profiles
parentClean up pre-release ebuilds. (diff)
downloadgentoo-2-aab4acc7fa718a75693f1633a0f4f3435a785eb2.tar.gz
gentoo-2-aab4acc7fa718a75693f1633a0f4f3435a785eb2.tar.bz2
gentoo-2-aab4acc7fa718a75693f1633a0f4f3435a785eb2.zip
Fix several scripts errors that expect configure setting bash as the running shell.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/default/bsd/ChangeLog7
-rw-r--r--profiles/default/bsd/fbsd/profile.bashrc7
2 files changed, 12 insertions, 2 deletions
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 <the_paya@gentoo.org>
+ 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 <the_paya@gentoo.org>
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.