Remplacé echo par msg_log
[hvlinux.git] / stage2 / toolchain-test
index 588ec94..cf8fa58 100755 (executable)
@@ -7,7 +7,8 @@ cd /tmp
 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