summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-10 03:40:14 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-10 03:40:14 +0000
commit4ff228b1b041923c4c78dd9a8428befd655b7402 (patch)
treed694e2ae1cb475ac186845c140bede029262e103
parent0032c5b936d94930679be50f6311531ec2b8ea85 (diff)
downloadportage-4ff228b1b041923c4c78dd9a8428befd655b7402.tar.gz
portage-4ff228b1b041923c4c78dd9a8428befd655b7402.tar.bz2
portage-4ff228b1b041923c4c78dd9a8428befd655b7402.zip
Print a more useful error message for bug #150488.
svn path=/main/trunk/; revision=4646
-rwxr-xr-xbin/repoman3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 2f06a70b2..d166de5a9 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -451,7 +451,8 @@ if not portdir_overlay:
portdir = portdir_overlay
if not portdir_overlay:
- print darkred("Unable to determine PORTDIR.")
+ sys.stderr.write("Repoman is unable to determine PORTDIR or PORTDIR_OVERLAY from" + \
+ " the current\nworking directory.\n")
sys.exit(1)
if not portdir: