sci-chemistry/pymol-plugins-promol: [QA] Fix double-prefix
authorDavid Seifert <soap@gentoo.org>
Sun, 11 Aug 2019 11:50:11 +0000 (13:50 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 11 Aug 2019 11:50:11 +0000 (13:50 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
sci-chemistry/pymol-plugins-promol/pymol-plugins-promol-3.0.2-r1.ebuild

index bda6bd69481914e96a565b42ecee6c006ff91704..1c0b12a6a76eac7207b1c0081136e7ae83b28d73 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -33,7 +33,7 @@ src_prepare() {
        preparation() {
                cd "${BUILD_DIR}" || die
                sed \
-                       -e "s:./modules/pmg_tk/startup:${EPREFIX}/$(python_get_sitedir)/pmg_tk/startup/ProMol:g" \
+                       -e "s:./modules/pmg_tk/startup:$(python_get_sitedir)/pmg_tk/startup/ProMol:g" \
                        -i ProMOL_302.py || die
        }
        python_foreach_impl preparation