summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-03-16 13:47:50 -0400
committerMike Gilbert <floppym@gentoo.org>2014-03-16 14:00:02 -0400
commit2979e0ff26da955476d0846aede7acc4d81c82b9 (patch)
treec6b925e072cca2b24b4e67c66b046565b02cad20
parentAdd an install target to the Makefile (diff)
downloadpython-updater-2979e0ff26da955476d0846aede7acc4d81c82b9.tar.gz
python-updater-2979e0ff26da955476d0846aede7acc4d81c82b9.tar.bz2
python-updater-2979e0ff26da955476d0846aede7acc4d81c82b9.zip
Source /lib/gentoo/functions.sh, bug 504130.
-rw-r--r--python-updater.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/python-updater.in b/python-updater.in
index 68c6ead..7fc535d 100644
--- a/python-updater.in
+++ b/python-updater.in
@@ -61,8 +61,8 @@ CHECK_PYTHON_ABIS="1"
CHECK_SHARED_LINKING="1"
CHECK_STATIC_LINKING="1"
-# Load the Gentoo-style info macros, but hack to get around it thinking this is an rc script.
-EBUILD="1" . "@GENTOO_PORTAGE_EPREFIX@"/etc/init.d/functions.sh
+# Load the Gentoo-style info macros
+. "@GENTOO_PORTAGE_EPREFIX@"/lib/gentoo/functions.sh
# Portage variables.
PKG_DBDIR="@GENTOO_PORTAGE_EPREFIX@/var/db/pkg"