summaryrefslogtreecommitdiff
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 /bin/repoman
parentAdd $ROOT and $PORTAGE_CONFIGROOT support for etc-update. Thanks to Jonathan... (diff)
downloadportage-multirepo-4ff228b1b041923c4c78dd9a8428befd655b7402.tar.gz
portage-multirepo-4ff228b1b041923c4c78dd9a8428befd655b7402.tar.bz2
portage-multirepo-4ff228b1b041923c4c78dd9a8428befd655b7402.zip
Print a more useful error message for bug #150488.
svn path=/main/trunk/; revision=4646
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman
index 2f06a70b..d166de5a 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: