pesa        14/10/31 00:57:49

  Modified:             ChangeLog multibuild.eclass
  Log:
  Make sure BUILD_DIR exists before pushd'ing into it.

Revision  Changes    Path
1.1397               eclass/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1397&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1397&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1396&r2=1.1397

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1396
retrieving revision 1.1397
diff -u -r1.1396 -r1.1397
--- ChangeLog   30 Oct 2014 13:21:25 -0000      1.1396
+++ ChangeLog   31 Oct 2014 00:57:49 -0000      1.1397
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1396 2014/10/30 
13:21:25 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1397 2014/10/31 
00:57:49 pesa Exp $
+
+  31 Oct 2014; Davide Pesavento <p...@gentoo.org> multibuild.eclass:
+  Make sure BUILD_DIR exists before pushd'ing into it.
 
   30 Oct 2014; Pacho Ramos <pa...@gentoo.org> vala.eclass:
   Fix repoman warnings (#521980 by Arfrever Frehtes Taifersar Arahesis)



1.19                 eclass/multibuild.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multibuild.eclass?rev=1.19&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multibuild.eclass?rev=1.19&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multibuild.eclass?r1=1.18&r2=1.19

Index: multibuild.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/multibuild.eclass,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- multibuild.eclass   10 May 2014 21:36:49 -0000      1.18
+++ multibuild.eclass   31 Oct 2014 00:57:49 -0000      1.19
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multibuild.eclass,v 1.18 2014/05/10 
21:36:49 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multibuild.eclass,v 1.19 2014/10/31 
00:57:49 pesa Exp $
 
 # @ECLASS: multibuild
 # @MAINTAINER:
@@ -237,6 +237,7 @@
        [[ ${#} -ne 0 ]] || die "${FUNCNAME}: no command specified."
        [[ ${BUILD_DIR} ]] || die "${FUNCNAME}: BUILD_DIR not set."
 
+       mkdir -p "${BUILD_DIR}" || die
        pushd "${BUILD_DIR}" >/dev/null || die
        "${@}"
        ret=${?}




Reply via email to