summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-13 11:03:12 +0000
committerJustin Lecher <jlec@gentoo.org>2013-03-13 11:03:12 +0000
commiteaee2229c6294b1c426333939c8b286d409141ee (patch)
tree47c7e2851ec97d2faea3863f1a0031fd70e83296 /eclass
parentVersion bump (diff)
downloadgentoo-2-eaee2229c6294b1c426333939c8b286d409141ee.tar.gz
gentoo-2-eaee2229c6294b1c426333939c8b286d409141ee.tar.bz2
gentoo-2-eaee2229c6294b1c426333939c8b286d409141ee.zip
Fix fortran-2.eclass for bash-3.2 compatibility, #461544
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/fortran-2.eclass6
2 files changed, 7 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index c0917cf2abf2..c9341df37d47 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.735 2013/03/10 21:44:00 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.736 2013/03/13 11:03:12 jlec Exp $
+
+ 13 Mar 2013; Justin Lecher <jlec@gentoo.org> fortran-2.eclass:
+ Fix fortran-2.eclass for bash-3.2 compatibility, #461544
10 Mar 2013; Michał Górny <mgorny@gentoo.org> multibuild.eclass:
Make the log output redirection much simpler. Fix bash-3.2 compatibility.
diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass
index 93d9e2a3919b..7e63244951ee 100644
--- a/eclass/fortran-2.eclass
+++ b/eclass/fortran-2.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.16 2012/11/28 13:03:30 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.17 2013/03/13 11:03:12 jlec Exp $
# @ECLASS: fortran-2.eclass
# @MAINTAINER:
@@ -113,7 +113,7 @@ _fortran_compile_test() {
[[ -f ${fcode} ]] || _fortran_write_testsuite
- ${fcomp} "${fcode}" -o "${fcode}.x" &>> "${T}"/_fortran_compile_test.log
+ ${fcomp} "${fcode}" -o "${fcode}.x" >> "${T}"/_fortran_compile_test.log 2>&1
ret=$?
rm -f "${fcode}.x"