~smlavine/scripts

3f7ca23dc47aee78b430973cb9c914f34ce2a4d9 — Sebastian LaVine 2 months ago bd8b609
src/download: Address SC2068: Double quote array expansions

https://github.com/koalaman/shellcheck/wiki/SC2068
1 files changed, 3 insertions(+), 1 deletions(-)

M src/download
M src/download => src/download +3 -1
@@ 4,8 4,10 @@
#
# File:        download
# Description: Downloads the given URLs.
# Options:     -r        Download the URL recursively using wget. User
#                        discretion is advised.
# Arguments:   URLs to download.

for file in $@; do
for file in "$@"; do
	curl -LO "$file"
done