Fix non portability spotted by Florian:
[valgrind.git] / tests / check_isa-2_06_cap
blobb8ec37f31a7fce3d7e9eb9c79522a1b12474f0ce
1 #!/bin/sh
3 # We use this script to check whether or not the processor supports Power ISA 2.06 or later.
4 DIR="$( cd "$( dirname "$0" )" && pwd )"
5 LD_SHOW_AUXV=1 $DIR/true | grep arch_2_06 > /dev/null 2>&1
7 if [ "$?" -ne "0" ]; then
8 exit 1
9 else
10 exit 0