projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
amd64: update to linux-3.14.4
[hvlinux.git]
/
stage2
/
toolchain-test
diff --git
a/stage2/toolchain-test
b/stage2/toolchain-test
index
588ec94
..
cf8fa58
100755
(executable)
--- a/
stage2/toolchain-test
+++ b/
stage2/toolchain-test
@@
-7,7
+7,8
@@
cd /tmp
echo 'main(){}' > dummy.c
gcc dummy.c -Wl,--verbose &> dummy.log
echo 'main(){}' > dummy.c
gcc dummy.c -Wl,--verbose &> dummy.log
-if ! readelf -l a.out | grep 'Requesting program interpreter: /lib/ld-linux.*.so.2' 1> /dev/null 2>&1 ; then
+if ! readelf -l a.out | \
+ grep -q 'Requesting program interpreter: /lib/ld-linux.*.so.2'; then
echo "String 'Requesting program interpreter: /lib/ld-linux.*.so.2' not found"
exit 1
fi
echo "String 'Requesting program interpreter: /lib/ld-linux.*.so.2' not found"
exit 1
fi