george      14/10/17 13:17:30

  Modified:             gnatbuild.eclass
  Log:
  a fix to create /etc/ada, see #440660

Revision  Changes    Path
1.63                 eclass/gnatbuild.eclass

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

Index: gnatbuild.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- gnatbuild.eclass    15 Oct 2014 09:52:21 -0000      1.62
+++ gnatbuild.eclass    17 Oct 2014 13:17:30 -0000      1.63
@@ -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/gnatbuild.eclass,v 1.62 2014/10/15 
09:52:21 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnatbuild.eclass,v 1.63 2014/10/17 
13:17:30 george Exp $
 #
 # Authors: George Shapovalov <geo...@gentoo.org>
 #          Steve Arnold <nerd...@gentoo.org>
@@ -309,6 +309,7 @@
        elog
        . ${GnatCommon} || die "failed to source common code"
        if [[ ! -f ${PRIMELIST} ]] || [[ ! -s ${PRIMELIST} ]]; then
+               mkdir -p ${SETTINGSDIR}
                echo "${gnat_profile}" > ${PRIMELIST}
                elog "The list of primary compilers was empty and got assigned 
${gnat_profile}."
        fi




Reply via email to