Fix identify

This bug was introduced in 34e25ee, merged in #22 and reported in #24.

It's very strange: I tested on a Fedora, it was working, and, on a
debian, it failed… Have to investigate…
This commit is contained in:
Ajabep
2020-08-18 12:00:01 +02:00
parent 1d2f6d2d7c
commit 22ad329e78
+1 -1
View File
@@ -45,4 +45,4 @@ case "$arg" in
help
esac
ls -1 db/*.so | xargs $tool | grep -- "$regex" | perl -n -e '/db\/(.*)\.so:.*/&&print "id $1\n"'
ls -1 db/*.so | xargs $tool | grep -- "$regex" | perl -n -e '/db\/([^ ]*)\.so/&&print "id $1\n"'