1
Fork 0
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:
Andy Wingo 2013-01-23 16:11:31 +01:00
parent 8026a774a9
commit a20eb9a39b

View file

@ -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