Skip to content

Commit

Permalink
BUG: Fix brace expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
pan14001 committed Apr 23, 2019
1 parent d362129 commit 427f794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/script_that_sometimes_fails.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ prng () {
m=$SLURM_NTASKS
# Recur as many times as the task id to generate different numbers
# for each SLURM task.
for _ in 1..$SLURM_PROCID
for _ in {1..$SLURM_PROCID}
do
x_n=$(( $(( a * $((x_n + b)) )) % m))
done
Expand Down

0 comments on commit 427f794

Please sign in to comment.