From: Zac Medico Date: Tue, 10 Oct 2006 03:40:14 +0000 (-0000) Subject: Print a more useful error message for bug #150488. X-Git-Tag: v2.1.2~661 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4ff228b1b041923c4c78dd9a8428befd655b7402;p=portage.git Print a more useful error message for bug #150488. svn path=/main/trunk/; revision=4646 --- 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: