Fix several scripts errors that expect configure setting bash as the running shell.
authorJavier Villavicencio <the_paya@gentoo.org>
Thu, 1 Apr 2010 08:20:18 +0000 (08:20 +0000)
committerJavier Villavicencio <the_paya@gentoo.org>
Thu, 1 Apr 2010 08:20:18 +0000 (08:20 +0000)
profiles/default/bsd/ChangeLog
profiles/default/bsd/fbsd/profile.bashrc

index a712bfc62d90ed3107f87bbdeca3bd0c5e55b0fd..50064bc284a8c3a83d4b58141f3ca66b3804651f 100644 (file)
@@ -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:
index a22e22aae70d4f5b36700f6d70bea920326988c5..82d6465c171cca8c27811d273f8ca0ec3d12a60d 100644 (file)
@@ -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.