diff options
Diffstat (limited to 'config.tests/unix')
-rwxr-xr-x | config.tests/unix/endian.test | 4 |
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 |