summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Jones <carpaski@gentoo.org>2003-03-03 18:23:34 +0000
committerNicholas Jones <carpaski@gentoo.org>2003-03-03 18:23:34 +0000
commit74b92859d3ab5f1000cdf706c808b098784118a3 (patch)
tree411c8cacf779e2c1f8b958813e0c419c46d82088
parentremoved debug -- included in -r8 (diff)
downloadportage-cvs-74b92859d3ab5f1000cdf706c808b098784118a3.tar.gz
portage-cvs-74b92859d3ab5f1000cdf706c808b098784118a3.tar.bz2
portage-cvs-74b92859d3ab5f1000cdf706c808b098784118a3.zip
fix for PORTDIR notice.
-rwxr-xr-xbin/repoman4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index e3f1ba8..0c960a0 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -2,7 +2,7 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/repoman,v 1.12 2003/02/28 06:26:08 carpaski Exp $
+# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/repoman,v 1.13 2003/03/03 18:23:34 carpaski Exp $
# Next to do: dep syntax checking in ebuilds, mask files
# Then, check to make sure deps are satisfiable (to avoid "can't find match for" problems)
@@ -129,7 +129,7 @@ except:
try: # Determine if we're in PORTDIR... If not tell portage to accomodate.
mydir=os.getcwd()
- if mydir!=portage.settings["PORTDIR"][:len(mydir)]:
+ if portage.settings["PORTDIR"]!=mydir[:len(portage.settings["PORTDIR"])]:
# We're not in the PORTDIR
print
print darkred("We're not in PORTDIR..."),