-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MD5 command in example poap file #21
Comments
Can confirm this is correct for 9372PX. |
Yes, the command doesn't work on OSX or Ubuntu. I tried your command but after the md5sum appears the filename... for example: Have anyone a fix for that? |
Just confirmed @ma-hack on an ubuntu server. When I get back into work I'll grab the string I used. |
Here is what's been working for us:
looks like the main difference is changing a few instances of |
Great it works! Thanks for sharing! |
The command to recalculate the md5 is wrong. The result needs to be in double quotes. Command in question.
f=poap.py ; cat $f | sed '/^#md5sum/d' > $f.md5 ; sed -i "s/^#md5sum=./#md5sum=$(md5sum $f.md5 | sed 's/ .//')/" $f
Correct command
f=poap.py ; cat $f | sed '/^#md5sum/d' > $f.md5 ; sed -i "s/^#md5sum=./#md5sum="$(md5sum $f.md5 | sed 's/ .//')"/" $f
The text was updated successfully, but these errors were encountered: