From e9b6ef7e44c9bd9c940b60854490a894617fb3ed Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Wed, 15 Feb 2017 21:46:55 -0500 Subject: 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(+) create mode 100644 WebappConfig/eprefix.py 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 = '' -- cgit v1.2.3-65-gdbad