Skip to content

Commit

Permalink
try removing quotes around moduleDir for singularity lua
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Sep 15, 2023
1 parent ecbd842 commit 8ddd39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shpc/main/modules/templates/singularity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For each of the above, you can export:
local moduleDir = subprocess("realpath " .. myFileName()):match("(.*[/])") or "."

-- If we have wrapper base set, honor it, otherwise we use the moduleDir
{% if settings.wrapper_base %}local wrapperDir = "{{ module.wrapper_dir }}"{% else %}local wrapperDir = "$moduleDir"{% endif %}
{% if settings.wrapper_base %}local wrapperDir = "{{ module.wrapper_dir }}"{% else %}local wrapperDir = $moduleDir{% endif %}

-- singularity environment variable to set shell
setenv("SINGULARITY_SHELL", "{{ settings.singularity_shell }}")
Expand Down

0 comments on commit 8ddd39b

Please sign in to comment.