From 513988e0f29d4412c15a8bc1249c26bf7a9c07ba Mon Sep 17 00:00:00 2001 From: marky Date: Fri, 28 Aug 2015 08:54:12 -0600 Subject: Fix an issue where the grep doesn't match properly when identify is used against a libc file Signed-off-by: marky --- identify | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'identify') diff --git a/identify b/identify index 93f8586..1547261 100755 --- a/identify +++ b/identify @@ -5,4 +5,4 @@ if [[ $# != 1 ]]; then fi libc=$1 sha1=`sha1sum $libc` -sha1sum db/*.so | grep $sha1 +sha1sum db/*.so | grep `echo $sha1 | awk '{print $1 }'` -- cgit v1.2.3-54-g00ecf