Skip to content

Conversation

@wiryhatbox
Copy link

  • Safer scripts with set -euf and other options whenever possible

  • Make scripts more portable

  • Quote variables

  • Use end-of-options (--) to make scripts safer

  • Use either curl or wget with safer parameters

  • All commands (even mkdir/cd) exit properly on failure

  • Rethink eval arguments

Use `set -euf` to make script safer

Commands exit properly on failure

Quote variables
Commands exit properly on failure

Quote variables
Make script portable

Commands exit properly on failure

Quote variables

Rethink eval arguments
Use `set -euf` to make script safer

Commands exit properly on failure

Quote variables
Commands exit properly on failure

Quote variables

Reorganize
Commands exit properly on failure

Quote variables

Use either curl or wget
@wiryhatbox
Copy link
Author

Let me know if you need help with the review, functionality remained unchanged.

@pejfat08-rgb
Copy link

33acfd3d1c15cfb314a5c99695a4c16b83da8793

@pejfat08-rgb
Copy link

  • @@Uploading @ bitcoina.webp …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants