mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Fix scripts to use /bin/true consistently.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15392
This commit is contained in:
parent
50310539d6
commit
9012b9df43
@ -2,7 +2,7 @@
|
||||
|
||||
# We use this script to check whether or not the processor supports Power ISA 2.06 or later.
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
LD_SHOW_AUXV=1 $DIR/true | grep arch_2_06 > /dev/null 2>&1
|
||||
LD_SHOW_AUXV=1 /bin/true | grep arch_2_06 > /dev/null 2>&1
|
||||
|
||||
if [ "$?" -ne "0" ]; then
|
||||
exit 1
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# We use this script to check whether or not the processor supports
|
||||
# Power ISA 2.07.
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
LD_SHOW_AUXV=1 $DIR/true | grep arch_2_07 > /dev/null 2>&1
|
||||
LD_SHOW_AUXV=1 /bin/true | grep arch_2_07 > /dev/null 2>&1
|
||||
|
||||
if [ "$?" -ne "0" ]; then
|
||||
exit 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user