]> diplodocus.org Git - nmh/blobdiff - test/common.sh.in
Disable clang complaint about unused -ansi when linking by
[nmh] / test / common.sh.in
index 1d55dff5656aead7f891d1f634bc8fd466b8f0db..70214127f9ad1ae5d4be277cf089d852c11b6e7c 100644 (file)
@@ -35,7 +35,7 @@ output_md5()
   #### the same line, the caller needs to add it.  This avoids
   #### differences due to a leading '*' binary file indicator, for
   #### text files, on some platforms (Cygwin).
-  @MD5SUM@ $* | @MD5FMT@ | cut -d ' ' -f 1
+  @MD5SUM@ $* | @MD5FMT@ | awk '{print $1}'
 }
 
 #### Use built-in $((...)) in test suite if shell supports it.