diff options
author | marky <mark@noffle.net> | 2015-08-28 08:54:12 -0600 |
---|---|---|
committer | marky <mark@noffle.net> | 2015-08-28 08:54:12 -0600 |
commit | 513988e0f29d4412c15a8bc1249c26bf7a9c07ba (patch) | |
tree | f8b0e778d2dd039280f856fe5ad9421eadd078c0 | |
parent | fce5732e5541a21c7f1ca2478b4dceb52152823d (diff) | |
download | libc-database-513988e0f29d4412c15a8bc1249c26bf7a9c07ba.tar.gz libc-database-513988e0f29d4412c15a8bc1249c26bf7a9c07ba.zip |
Fix an issue where the grep doesn't match properly when identify is used against a libc file
Signed-off-by: marky <mark@noffle.net>
-rwxr-xr-x | identify | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 }'` |