Gentoo Archives: gentoo-commits

From: Devan Franchini <twitch153@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/webapp-config:master commit in: WebappConfig/
Date: Thu, 16 Feb 2017 03:09:33
Message-Id: 1487213257.e9b6ef7e44c9bd9c940b60854490a894617fb3ed.twitch153@gentoo
1 commit: e9b6ef7e44c9bd9c940b60854490a894617fb3ed
2 Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 16 02:46:55 2017 +0000
4 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 16 02:47:37 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=e9b6ef7e
7
8 eprefix.py: Adds EPREFIX variable to import in other places
9
10 X-Gentoo-Bug: 608018
11 X-Gentoo-Bug-URL: https://bugs.gentoo.org/608018
12
13 WebappConfig/eprefix.py | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16 diff --git a/WebappConfig/eprefix.py b/WebappConfig/eprefix.py
17 new file mode 100644
18 index 0000000..7d5bd66
19 --- /dev/null
20 +++ b/WebappConfig/eprefix.py
21 @@ -0,0 +1,6 @@
22 +# Establish the eprefix, initially set so eprefixify can
23 +# set it on install
24 +EPREFIX = "@GENTOO_PORTAGE_EPREFIX@"
25 +# Check and set it if it wasn't
26 +if "GENTOO_PORTAGE_EPREFIX" in EPREFIX:
27 + EPREFIX = ''