Skip to content

Commit 5a2f0f3

Browse files
committed
Fix runscript regexp to work on Mac OS
1 parent a4af6ba commit 5a2f0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reproman/support/jobs/job_templates/runscript/base.template.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ then
5353
# least for now, below is a brittle solution were the last job waits until it
5454
# sees that all other jobs have exited and then runs the post-command stuff.
5555
nstatus () {
56-
find "$metadir" -regex '.*/status\.[0-9]+' | wc -l
56+
find "$metadir" -regex '.*/status\.[0-9][0-9]*' | wc -l
5757
}
5858

5959
# Ugly, but this sleep makes it less likely for the post-command tar to fail

0 commit comments

Comments
 (0)