Wrap download arguments in quotes

This commit is contained in:
xperia64 2015-10-16 23:45:40 -04:00
parent 341b658ed0
commit 0829059ee4
1 changed files with 2 additions and 2 deletions

View File

@ -17,9 +17,9 @@ libVFile="./libversion"
function download {
if command -v curl > /dev/null 2>&1; then
curl -L -o $2 $1
curl -L -o "$2" "$1"
elif command -v wget > /dev/null 2>&1; then
wget -O $2 $1
wget -O "$2" "$1"
else
echo "Please install either wget or curl to continue"
exit 1