From e15eadd1060943e91c401b43beb0a91f18244478 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sat, 18 Aug 2018 09:18:25 -0600 Subject: [PATCH] unbreak unixstyle-install Commit 1afcbee381 effctively dropped a conditional case that was marked as "shouldn't happen" --- but it does happen and makes sense. Adjust the replacement `delete-directory/files` call to accomodate the case. Relevant to #2198 and #2236 --- racket/collects/setup/unixstyle-install.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/racket/collects/setup/unixstyle-install.rkt b/racket/collects/setup/unixstyle-install.rkt index ee6512bb16..c5d0bebb82 100644 --- a/racket/collects/setup/unixstyle-install.rkt +++ b/racket/collects/setup/unixstyle-install.rkt @@ -126,7 +126,7 @@ ;; removes a file or a directory (recursively) (define (rm path) - (delete-directory/files path)) + (delete-directory/files path #:must-exist? #f)) ;; removes "compiled" subdirectories recursively (define (rm-compiled path)