forked from rosebudai/OpenRCT2-Web
Wrap download arguments in quotes
This commit is contained in:
1 parent
341b658ed0
commit
0829059ee4
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user