summaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorkarltk <karltk@gentoo.org>2004-01-07 14:05:02 +0000
committerkarltk <karltk@gentoo.org>2004-01-07 14:05:02 +0000
commit3fcc9ce5d22ee4ccca3fafd90ddb825c2078b93e (patch)
treed6bc32769c1d8ba6d2f01ba48d683ec540ff5356 /trunk/src
parent883c1c08db619de8b631735aa6e4f42d85d9a0be (diff)
downloadgentoolkit-3fcc9ce5d22ee4ccca3fafd90ddb825c2078b93e.tar.gz
sys.path fixes
svn path=/; revision=50
Diffstat (limited to 'trunk/src')
-rw-r--r--trunk/src/equery/Makefile12
-rwxr-xr-xtrunk/src/equery/equery6
-rw-r--r--trunk/src/gentoolkit/Makefile2
3 files changed, 13 insertions, 7 deletions
diff --git a/trunk/src/equery/Makefile b/trunk/src/equery/Makefile
index 77798c6..e639b5b 100644
--- a/trunk/src/equery/Makefile
+++ b/trunk/src/equery/Makefile
@@ -10,11 +10,11 @@ all:
echo "YADDLETHORPE (vb.) (Of offended pooves.) To exit huffily from a boutique."
dist:
- mkdir -p ../../$(distdir)/src/gentool/
- cp {Makefile,AUTHORS,README,TODO,ChangeLog,gentool,gentool.1} ../../$(distdir)/src/gentool/
+ mkdir -p ../../$(distdir)/src/equery/
+ cp {Makefile,AUTHORS,README,TODO,ChangeLog,equery,equery.1} ../../$(distdir)/src/equery/
install:
- install -m 0755 gentool $(bindir)/
- install -d $(docdir)/gentool
- install -m 0644 {README,AUTHORS} $(docdir)/gentool/
- install -m 0644 gentool.1 $(mandir)/
+ install -m 0755 equery $(bindir)/
+ install -d $(docdir)/equery
+ install -m 0644 {README,AUTHORS} $(docdir)/equery/
+ install -m 0644 equery.1 $(mandir)/
diff --git a/trunk/src/equery/equery b/trunk/src/equery/equery
index 40b2e10..f139aee 100755
--- a/trunk/src/equery/equery
+++ b/trunk/src/equery/equery
@@ -17,9 +17,13 @@ import re
import sys
import time
import string
-import gentoolkit
from output import *
+sys.path = ["/usr/lib/portage/pym"] + \
+ ["/usr/lib/gentoolkit/pym"] + \
+ sys.path
+
+import gentoolkit
# Auxiliary functions
diff --git a/trunk/src/gentoolkit/Makefile b/trunk/src/gentoolkit/Makefile
index 10df62d..2ebdcb5 100644
--- a/trunk/src/gentoolkit/Makefile
+++ b/trunk/src/gentoolkit/Makefile
@@ -4,6 +4,8 @@
#
# $Header$
+include ../../makedefs.mak
+
all:
echo "LISTOWEL (n.) The small mat on the bar designed to be more absorbent than the bar, but not as absorbent as your elbows."