summaryrefslogtreecommitdiff
path: root/BUILD/check-cpu
diff options
context:
space:
mode:
authortsmith@siva.hindu.god <>2007-01-18 08:30:35 -0700
committertsmith@siva.hindu.god <>2007-01-18 08:30:35 -0700
commitcc7afe24947a687df41f757c2014ac6e90897710 (patch)
tree43ed4a13aa6f4077a05dacedc68e38e0ace6b8be /BUILD/check-cpu
parent230b1919512f6e5dcc15ecd765dc4f1d914acc50 (diff)
parentf2d4988c37afa398cd73b087bc3274f175c4f5b3 (diff)
downloadmariadb-git-cc7afe24947a687df41f757c2014ac6e90897710.tar.gz
Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/51
into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/51
Diffstat (limited to 'BUILD/check-cpu')
-rwxr-xr-xBUILD/check-cpu2
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu
index b4f5fd41b06..042e6b9856d 100755
--- a/BUILD/check-cpu
+++ b/BUILD/check-cpu
@@ -28,7 +28,7 @@ check_cpu () {
fi
# parse CPU flags
- for flag in `$cpuinfo | grep '^flags' | sed -e 's/^flags.*: //'`; do
+ for flag in `$cpuinfo | grep '^flags' | sed -e 's/^flags.*: //' -e 's/[^a-zA-Z0-9_ ]/_/g'`; do
eval cpu_flag_$flag=yes
done
else