1 From 40c81f684ec2014ea63a712329f61c52aebe4dba Mon Sep 17 00:00:00 2001
2 From: Valentin Boettcher <hiro@protagon.space>
3 Date: Wed, 4 Aug 2021 17:25:12 +0200
4 Subject: [PATCH] get image from environment
7 src/cmd-run-sbcl.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/src/cmd-run-sbcl.c b/src/cmd-run-sbcl.c
11 index a83b56c..dc472bb 100644
12 --- a/src/cmd-run-sbcl.c
13 +++ b/src/cmd-run-sbcl.c
14 @@ -12,7 +12,7 @@ char** cmd_run_sbcl(int argc,char** argv,struct sub_command* cmd) {
15 char* impl_path=impldir(arch,os,impl,version);
16 char* help=get_opt("help",0);
17 char* script=get_opt("script",0);
18 - char* image=get_opt("image",0);
19 + char* image=get_opt("image",1);
20 char* program=get_opt("program",0);
21 char* dynamic_space_size=get_opt("dynamic-space-size",1);
22 char* control_stack_size=get_opt("control-stack-size",1);