projects
/
Biblio-RFID.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8da60cf
)
fix binary detection
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Aug 2010 18:15:56 +0000
(20:15 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 6 Aug 2010 18:15:56 +0000
(20:15 +0200)
lib/RFID/Biblio/librfid.pm
patch
|
blob
|
history
diff --git
a/lib/RFID/Biblio/librfid.pm
b/lib/RFID/Biblio/librfid.pm
index
a8044ee
..
a7e8f00
100644
(file)
--- a/
lib/RFID/Biblio/librfid.pm
+++ b/
lib/RFID/Biblio/librfid.pm
@@
-32,7
+32,13
@@
our $bin = '/rest/cvs/librfid/utils/librfid-tool';
sub init {
my $self = shift;
- warn "# no $bin found\n" if ! -e $bin;
+ if ( -e $bin ) {
+ warn "# using $bin";
+ return 1;
+ } else {
+ warn "# no $bin found\n";
+ return 0;
+ }
}
sub _grep_tool {