mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 19:13:07 +01:00
Wrap download arguments in quotes
This commit is contained in:
@@ -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