From 4ff228b1b041923c4c78dd9a8428befd655b7402 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 10 Oct 2006 03:40:14 +0000 Subject: Print a more useful error message for bug #150488. svn path=/main/trunk/; revision=4646 --- bin/repoman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3-1-g7c22