From 42db3a75167a0a4d3c56f6f0a5a3fd834a06392c Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sun, 3 Jun 2012 11:23:48 +0800 Subject: [PATCH] raco setup: print "nothing to do" to stdout instead of sdterr Printing to stderr shows through in various ways, such as when installing a Planet package (where stdout is redirected and stderr isn't). --- collects/setup/setup-unit.rkt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collects/setup/setup-unit.rkt b/collects/setup/setup-unit.rkt index 0d0c9effcb..562315a6e1 100644 --- a/collects/setup/setup-unit.rkt +++ b/collects/setup/setup-unit.rkt @@ -441,7 +441,8 @@ (define (check-against-all given-ccs) (when (null? given-ccs) - (raise-user-error name-sym "nothing to do")) + (setup-printf #f "nothing to do") + (exit 1)) (define (cc->name cc) (string-join (map path->string (cc-collection cc)) "/")) (define (cc->cc+name+id cc)