shithub: libvpx

Download patch

ref: 583ed8562bb5b6bbf71be8e32f592b10100e7daf
parent: 347c8cf68f32c02ce48ce14ed24a08a596550712
parent: c0348216c300a7f907c3f9ae4f9cebe5b32ba35b
author: James Zern <[email protected]>
date: Wed Jul 30 06:55:11 EDT 2014

Merge "decode_to_md5.sh: fix local md5 variable assignment"

--- a/test/decode_to_md5.sh
+++ b/test/decode_to_md5.sh
@@ -44,8 +44,8 @@
 
   [ -e "${output_file}" ] || return 1
 
-  local md5_last_frame=$(tail -n1 "${output_file}")
-  local actual_md5=$(echo "${md5_last_frame% *}" | tr -d [:space:])
+  local md5_last_frame="$(tail -n1 "${output_file}" | awk '{print $1}')"
+  local actual_md5="$(echo "${md5_last_frame}" | awk '{print $1}')"
   [ "${actual_md5}" = "${expected_md5}" ] || return 1
 }