Skip to content

Commit 2fdac24

Browse files
committed
Update code-tunnel.sbatch to export TMPDIR
1 parent ff985c3 commit 2fdac24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/software/packages/VisualStudioCode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ PORT=$(python -c 'import socket; s=socket.socket(); s.bind(("", 0)); print(s.get
9797
scontrol update JobId="$SLURM_JOB_ID" Comment="$PORT"
9898

9999
# store SLURM variables to file
100-
env | awk -F= '$1~/^SLURM_/{print "export "$0}' > ~/.code-tunnel-env.bash
100+
env | awk -F= '$1~/^SLURM_/ || $1=="TMPDIR" {print "export "$0}' > ~/.code-tunnel-env.bash
101101

102102
# start sshd server on the available port
103103
echo "Starting sshd on port $PORT"

0 commit comments

Comments
 (0)