Put the main work in a `main' sub-module.
This should avoid re-checking the zo file at the end, leading to an
error when it's not there if it moved.
(cherry picked from commit c408dfb03b
)
This commit is contained in:
parent
135aba7dbc
commit
12349ed6e2
|
@ -450,9 +450,10 @@
|
|||
|
||||
;; --------------------------------------------------------------------------
|
||||
|
||||
(case op
|
||||
[(move) (move/copy-distribution #t)]
|
||||
[(copy) (move/copy-distribution #f)]
|
||||
[(make-install-copytree) (make-install-copytree)]
|
||||
[(make-install-destdir-fix) (make-install-destdir-fix)]
|
||||
[else (error (format "unknown operation: ~e" op))])
|
||||
(module+ main
|
||||
(case op
|
||||
[(move) (move/copy-distribution #t)]
|
||||
[(copy) (move/copy-distribution #f)]
|
||||
[(make-install-copytree) (make-install-copytree)]
|
||||
[(make-install-destdir-fix) (make-install-destdir-fix)]
|
||||
[else (error (format "unknown operation: ~e" op))]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user