commit:     e9b6ef7e44c9bd9c940b60854490a894617fb3ed
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 02:46:55 2017 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 02:47:37 2017 +0000
URL:        https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=e9b6ef7e

eprefix.py: Adds EPREFIX variable to import in other places

X-Gentoo-Bug: 608018
X-Gentoo-Bug-URL: https://bugs.gentoo.org/608018

 WebappConfig/eprefix.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/WebappConfig/eprefix.py b/WebappConfig/eprefix.py
new file mode 100644
index 0000000..7d5bd66
--- /dev/null
+++ b/WebappConfig/eprefix.py
@@ -0,0 +1,6 @@
+# Establish the eprefix, initially set so eprefixify can
+# set it on install
+EPREFIX = "@GENTOO_PORTAGE_EPREFIX@"
+# Check and set it if it wasn't
+if "GENTOO_PORTAGE_EPREFIX" in EPREFIX:
+    EPREFIX = ''

Reply via email to