summaryrefslogtreecommitdiff
path: root/dist/s_typedef
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-10-29 17:15:00 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-10-29 17:15:00 -0400
commit2aa5408366da0fc74a3a82041513a8201f7086a6 (patch)
treea1a10012ee1ffca864b7488971b4dd24302d021c /dist/s_typedef
parent7b254b96e18ca0af3381fbfd77f09e7434e82831 (diff)
downloadmongo-2aa5408366da0fc74a3a82041513a8201f7086a6.tar.gz
Oracle Solaris fixes
Diffstat (limited to 'dist/s_typedef')
-rw-r--r--dist/s_typedef2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/s_typedef b/dist/s_typedef
index 8a25f098301..6b230223baa 100644
--- a/dist/s_typedef
+++ b/dist/s_typedef
@@ -23,7 +23,7 @@ build() {
egrep -h '^[ ]*(struct|union)[ ]*__.*[ ]*{' $l | \
sed -e 's/^[ ]*//' -e 's/[ ]*{.*//' | sort | \
while read t n; do
- upper=`echo $n | sed -e 's/^__//' | tr a-z A-Z`
+ upper=`echo $n | sed -e 's/^__//' | tr [a-z] [A-Z]`
echo "$t $n;"
echo " typedef $t $n $upper;"
done