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
|
(module+ main
|
||||||
[(move) (move/copy-distribution #t)]
|
(case op
|
||||||
[(copy) (move/copy-distribution #f)]
|
[(move) (move/copy-distribution #t)]
|
||||||
[(make-install-copytree) (make-install-copytree)]
|
[(copy) (move/copy-distribution #f)]
|
||||||
[(make-install-destdir-fix) (make-install-destdir-fix)]
|
[(make-install-copytree) (make-install-copytree)]
|
||||||
[else (error (format "unknown operation: ~e" op))])
|
[(make-install-destdir-fix) (make-install-destdir-fix)]
|
||||||
|
[else (error (format "unknown operation: ~e" op))]))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user