diff --git a/template/script.sh.erb b/template/script.sh.erb index 6c50123420556e8da0cf3f726870e93a18f0dd70..4bce4da020b2133e7ab955db30aa27ef87d26cc8 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -40,7 +40,7 @@ echo "Display: ${DISPLAY}" # Launch PyCharm set -x -cmd="singularity exec --env \"DISPLAY:$DISPLAY\" -B \"/tmp/.X11-unix:/tmp/.X11-unix\" \ +cmd="singularity exec --env \"DISPLAY=$DISPLAY\" -B \"/tmp/.X11-unix:/tmp/.X11-unix\" \ <%= context.extra_singularity_args %> \ <%= context.container_path %> \ pycharm"