diff --git a/slurm/epilog.sh b/slurm/epilog.sh index 66bc24f..949f50f 100755 --- a/slurm/epilog.sh +++ b/slurm/epilog.sh @@ -1,5 +1,4 @@ -#!/run/current-system/sw/bin/bash - +#!/usr/bin/env bash # Delete the scratch directory for the job SCRATCH_DIR="/scratch/job-$SLURM_JOB_ID" rm -rf "$SCRATCH_DIR" diff --git a/slurm/prolog.sh b/slurm/prolog.sh index 2fb45a6..642284b 100755 --- a/slurm/prolog.sh +++ b/slurm/prolog.sh @@ -1,4 +1,4 @@ -#!/run/current-system/sw/bin/bash +#!/usr/bin/env bash # Create the scratch directory for the job SCRATCH_DIR="/scratch/job-$SLURM_JOB_ID"