mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
parent
bfb6b4bf82
commit
4b5ab838e2
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
(only (chibi) command-line)
|
||||
(only (meta) raw-script-file))
|
||||
(begin
|
||||
(define start-directory (current-directory))
|
||||
|
||||
(define (command-name)
|
||||
(let ((filename (car (command-line))))
|
||||
|
@ -17,7 +18,7 @@
|
|||
(define (script-file)
|
||||
(and raw-script-file
|
||||
(path-normalize
|
||||
(path-resolve raw-script-file (current-directory)))))
|
||||
(path-resolve raw-script-file start-directory))))
|
||||
|
||||
(define (script-directory)
|
||||
(let ((filename (script-file)))
|
||||
|
|
Loading…
Add table
Reference in a new issue