summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig.tests/unix/endian.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.tests/unix/endian.test b/config.tests/unix/endian.test
index d0fb6ce785..74a87327df 100755
--- a/config.tests/unix/endian.test
+++ b/config.tests/unix/endian.test
@@ -31,10 +31,10 @@ else
exit 2
fi
-if strings $binary | grep LeastSignificantByteFirst >/dev/null 2>&1; then
+if strings - $binary | grep LeastSignificantByteFirst >/dev/null 2>&1; then
[ "$VERBOSE" = "yes" ] && echo " Found 'LeastSignificantByteFirst' in binary"
ENDIAN="LITTLE"
-elif strings $binary | grep MostSignificantByteFirst >/dev/null 2>&1; then
+elif strings - $binary | grep MostSignificantByteFirst >/dev/null 2>&1; then
[ "$VERBOSE" = "yes" ] && echo " Found 'MostSignificantByteFirst' in binary"
ENDIAN="BIG"
fi