projects
/
librfid
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
run dump as root to side-step permission problems
[librfid]
/
ccid-dump.sh
diff --git
a/ccid-dump.sh
b/ccid-dump.sh
index
8df6d01
..
8e928e5
100755
(executable)
--- a/
ccid-dump.sh
+++ b/
ccid-dump.sh
@@
-1,4
+1,4
@@
#!/bin/sh -xe
test -d dump || mkdir dump
test -f dump/ccid || gcc -DTEST -Wall -Iinclude -lusb -g src/ccid/ccid-driver.c -o dump/ccid
-./dump/ccid 2>&1 | tee dump/`hostname`.ccid
+
sudo
./dump/ccid 2>&1 | tee dump/`hostname`.ccid