make raco pkg install' call
raco setup' via `setup/setup'
Instead of using `system'.
This commit is contained in:
parent
88a729df56
commit
abe4c1143f
|
@ -1,13 +1,13 @@
|
||||||
#lang racket/base
|
#lang racket/base
|
||||||
(require racket/function
|
(require racket/function
|
||||||
racket/system
|
|
||||||
"lib.rkt"
|
"lib.rkt"
|
||||||
"commands.rkt")
|
"commands.rkt"
|
||||||
|
(prefix-in setup: setup/setup))
|
||||||
|
|
||||||
(define (setup dont-setup)
|
(define (setup dont-setup)
|
||||||
(unless (or dont-setup
|
(unless (or dont-setup
|
||||||
(equal? "1" (getenv "PLT_PLANET2_DONTSETUP")))
|
(equal? "1" (getenv "PLT_PLANET2_DONTSETUP")))
|
||||||
(system "raco setup")))
|
(setup:setup)))
|
||||||
|
|
||||||
(commands
|
(commands
|
||||||
"This tool is used for managing installed packages."
|
"This tool is used for managing installed packages."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user