Wrap download arguments in quotes

This commit is contained in:
xperia64 committed 2015-10-16 23:45:40 -04:00
1 parent 341b658ed0
commit 0829059ee4
1 file changed
+2 -2
+2 -2
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