gertjaap / vertcoin-extras

Extra features for the Vertcoin blockchain
MIT License
4 stars 1 forks source link

Prevent globbing and word splitting in build.sh #4

Closed suriyaa closed 5 years ago

suriyaa commented 5 years ago

📞 ping repo maintainer: @gertjaap


The build.sh file should have double quote to prevent globbing and word splitting. (Source: SC2086)

Quoting variables prevents word splitting and glob expansion, and prevents the script from breaking when input contains spaces, line feeds, glob characters and such.

--Suriyaa Sundararuban GitHub Developer Future Official Vertcoin Developer? (Donate some VTC: vtc1qxvzg3syau59vrdmr498pdakz0y8w6vu8ynkwll)

gertjaap commented 5 years ago

Done, thanks!