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.
This commit is contained in:
parent
7e4e373919
commit
c408dfb03b
|
@ -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