Commits

Moritz Heidkamp committed 310d01f

chicken-build: use fail when fail is due

Comments (0)

Files changed (1)

chicken-build.scm

   (usage fail))
 
 (when (and build-boot-chicken? chicken-bin)
-  (printf-error "Can't set both -b and -c at the same time ")
-  (exit 1))
+  (fail "Can't set both -b and -c at the same time"))
 
 (when (equal? chicken-link chicken-name)
-  (printf-error "Invalid installation name: ~S" chicken-name)
-  (exit 1))
+  (fail "Invalid installation name: ~S" chicken-name))
 
 (define chicken-path
   (normalize-pathname (make-pathname chicken-coop chicken-name)))