summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2014-10-17 13:17:30 +0000
committerGeorge Shapovalov <george@gentoo.org>2014-10-17 13:17:30 +0000
commitd343451918b066d5acea7ef548768b56be4aef5b (patch)
treeb8b8ffe4f5b9280ae89eadd2406bf5ebb32e41b8 /eclass
parentold (diff)
downloadgentoo-2-d343451918b066d5acea7ef548768b56be4aef5b.tar.gz
gentoo-2-d343451918b066d5acea7ef548768b56be4aef5b.tar.bz2
gentoo-2-d343451918b066d5acea7ef548768b56be4aef5b.zip
a fix to create /etc/ada, see #440660
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnatbuild.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/gnatbuild.eclass b/eclass/gnatbuild.eclass
index ef7ae2ace763..fa5f7c34883d 100644
--- a/eclass/gnatbuild.eclass
+++ b/eclass/gnatbuild.eclass
@@ -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 <george@gentoo.org>
# Steve Arnold <nerdboy@gentoo.org>
@@ -309,6 +309,7 @@ gnatbuild_pkg_postinst() {
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