Skip to content

Commit b3fcabf

Browse files
author
Eric Crosson
committed
Use cross-platform regex for sed
1 parent e0600c0 commit b3fcabf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

captain-hook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ debug() {
3535
_getPipeline() {
3636
searchDir=$1; shift
3737
find "${searchDir}" \
38-
-regex ".*/[0-9]\{3\}+\{0,1\}.*" \
38+
-regex ".*/[0-9][0-9][0-9]+?.*" \
3939
| sort
4040
}
4141

0 commit comments

Comments
 (0)