projects
/
librfid
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ac14895
)
run dump as root to side-step permission problems
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 19 Jan 2014 14:12:42 +0000
(09:12 -0500)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 19 Jan 2014 14:12:42 +0000
(09:12 -0500)
ccid-dump.sh
patch
|
blob
|
history
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