diff --git a/build.sh b/build.sh index 95ba736..f280953 100755 --- a/build.sh +++ b/build.sh @@ -47,7 +47,8 @@ elif [ -x "$(command -v dmd)" ]; then d_compiler="dmd"; else echo "Unable to find D compiler"; exit -1; fi; codegen_src="${script_dir}/vulkan_codegen.d" -codegen_out="--of=${build}/vulkan_codegen" +codegen_out_name="${build}/vulkan_codegen" +codegen_out="--of=${codegen_out_name}" $d_compiler $codegen_src $codegen_out