mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-15 08:57:33 +02:00
update-repository shouldn't exit
This commit is contained in:
parent
1b3ccdaf1c
commit
afd887e672
1 changed files with 2 additions and 2 deletions
|
@ -1145,9 +1145,9 @@
|
|||
`(,(car repo) (url ,repo-uri) ,@(cdr repo))))))
|
||||
(cond
|
||||
((not (valid-repository? repo))
|
||||
(die 2 "not a valid repository: " repo-uri))
|
||||
(warn "not a valid repository: " repo-uri repo))
|
||||
((not (create-directory* local-dir))
|
||||
(die 2 "can't create directory: " local-dir))
|
||||
(warn "can't create directory: " local-dir))
|
||||
(else
|
||||
(guard (exn (else (die 2 "couldn't write repository")))
|
||||
(call-with-output-file local-tmp
|
||||
|
|
Loading…
Add table
Reference in a new issue