projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2422c5d
)
edwin: Fix autogen.sh (sources.sh) to work with 9.2.
mit-scheme-pucked-cairo-0.9
mit-scheme-pucked-devops-0.9
mit-scheme-pucked-edwin-3.116.5
mit-scheme-pucked-gl-0.7
mit-scheme-pucked-glib-0.10
mit-scheme-pucked-gtk-0.9
mit-scheme-pucked-gtk-screen-0.5
mit-scheme-pucked-pango-0.9
mit-scheme-pucked-planetarium-0.7
mit-scheme-pucked-x11-screen-1.0.1
author
Matt Birkholz
<matt@birchwood-abbey.net>
Tue, 2 Oct 2018 01:21:26 +0000
(18:21 -0700)
committer
Matt Birkholz
<matt@birchwood-abbey.net>
Tue, 2 Oct 2018 01:21:26 +0000
(18:21 -0700)
src/edwin/sources.sh
patch
|
blob
|
history
diff --git
a/src/edwin/sources.sh
b/src/edwin/sources.sh
index 20f982b6a0c459de814d6e5949e84a93747ff783..aa2c720b2723e9271786e417752f5fd9c990591c 100755
(executable)
--- a/
src/edwin/sources.sh
+++ b/
src/edwin/sources.sh
@@
-62,7
+62,10
@@
${MIT_SCHEME_EXE} --batch-mode -- $1 <<\EOF
(define (my-write-line . strings)
(apply my-write strings) (newline))
- (let ((command (car (command-line-arguments)))
+ (let ((command (car (if (environment-bound? system-global-environment
+ 'command-line-arguments)
+ (command-line-arguments)
+ (command-line))))
(files (filenames)))
(cond ((string=? command "scm")
(for-each (lambda (name) (my-write " "name))