Closed ghost closed 4 years ago
git fetch
+ git pull
is redundant. Actually git pull
== git fetch
+ git merge
./pm3-flash-all
So my guess is that you need something like this
#!/bin/sh
[ -d ~/proxmark3 ] || git clone https://github.com/RfidResearchGroup/proxmark3.git
cd ~/proxmark3
git pull
make clean && make -j && ./pm3-flash-all
and
cd ~/proxmark3/client
./proxmark3 /dev/ttyACM0
Or just
cd ~/proxmark3
./pm3
- Your scripts assume the repo is already cloned in ~/proxmark3, right ?
Yes
You can take a look to the pic and see that's problem in in \r and other WTF moments. Some thimes Linux make me cry...
See on i3blocks two links, now it's more clear for you, why me asking and .sh scripts. Mayme for you that's will be cool also :)
Why it's not working?
It seems you're using a windows editor, try convert your scripts with dos2unix
using a windows editor
Exactly! Thx to encoding...
Hi to all. Can you please corect the sysntacs of the .sh scripts for the do some of commands? It's does't work. Problems with cd/r and git not see the .git
Arch Linux the scripts for i3blocks:
and