summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorDon Anderson <dda@mongodb.com>2016-06-22 08:46:19 -0400
committersueloverso <sue@mongodb.com>2016-06-22 08:46:19 -0400
commit1372e5bf997d3309ee82bd00b17ea09eaf3eb2d7 (patch)
treebd106e20a6cf7ed0fe7e217056d55090d01c50a0 /dist
parentd64a99d748b925caeb523b4faa883e6be93ae629 (diff)
downloadmongo-1372e5bf997d3309ee82bd00b17ea09eaf3eb2d7.tar.gz
WT-2722 escape regular expression meta-character so egrep works on all systems. (#2821)
Diffstat (limited to 'dist')
-rwxr-xr-xdist/s_label2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/s_label b/dist/s_label
index c042062d4c2..b56ecc6fc78 100755
--- a/dist/s_label
+++ b/dist/s_label
@@ -37,7 +37,7 @@ done
for f in `find bench examples ext src test -name '*.[ci]'`; do
file_parse $f | sed "s=^=$f:="
done | python dist/s_label_loop.py |
- egrep '{@[^@]*(WT_ILLEGAL_VALUE|WT_RET[_A-Z]*)\([^@]*(WT_ERR[_A-Z]*|WT_ILLEGAL_VALUE_ERR)\(.*err:' |
+ egrep '\{@[^@]*(WT_ILLEGAL_VALUE|WT_RET[_A-Z]*)\([^@]*(WT_ERR[_A-Z]*|WT_ILLEGAL_VALUE_ERR)\(.*err:' |
sed -e 's/^\([^:]*\): *\([^:]*\):.*/\1:\2: mix of returns and jump to the error label within a loop/'
# Return of 0 in functions after a jump to the error label.