mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
fix regression in -l
* module/ice-9/command-line.scm (compile-shell-switches): Fix regression with -l argument, which was loading arg0 instead.
This commit is contained in:
parent
8026a774a9
commit
a20eb9a39b
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ If FILE begins with `-' the -s switch is mandatory.
|
|||
(if (null? args)
|
||||
(error "missing argument to `-l' switch"))
|
||||
(parse (cdr args)
|
||||
(cons `((@@ (ice-9 command-line) load/lang) ,arg0)
|
||||
(cons `((@@ (ice-9 command-line) load/lang) ,(car args))
|
||||
out)))
|
||||
|
||||
((string=? arg "-L") ; add to %load-path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue