SPAN - refactor help
This commit is contained in:
parent
4b2def9c2a
commit
38133a2915
|
@ -262,6 +262,9 @@ Enter 'h' for help.")
|
|||
SPAN-build-and-cache-dir
|
||||
(lambda (answer)
|
||||
(let ((dir (create-directory answer)))
|
||||
(run (touch (string-append dir "/help")))
|
||||
(let ((out (open-output-file (string-append dir "/help"))))
|
||||
(write "Commands : 'h' and 'get <filename-on-server>"))
|
||||
(if (file-directory? dir)
|
||||
(set! SPAN-dir answer)
|
||||
(set! SPAN-build-and-cache-dir answer)
|
||||
|
@ -357,6 +360,7 @@ Enter 'h' for help.")
|
|||
SPAN-mirror-url
|
||||
(lambda (answer)
|
||||
(set! SPAN-mirror-url answer)
|
||||
(run (touch (string-append SPAN-dir "/mirror")))
|
||||
(let ((out (open-output-file (string-append SPAN-build-and-cache-dir "/mirror"))))
|
||||
(write answer out))
|
||||
#f)) answer)
|
||||
|
|
Loading…
Reference in New Issue