Quote stuff properly

This commit is contained in:
Kamil Śliwak
2021-02-01 17:14:38 +01:00
parent 566d49a1d1
commit 27754d3e3d
27 changed files with 124 additions and 124 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ function compileFull()
fi
local args=$FULLARGS
if [[ $1 = '-v' ]]; then
if (echo $2 | grep -Po '(?<=0.4.)\d+' >/dev/null); then
patch=$(echo $2 | grep -Po '(?<=0.4.)\d+')
if (echo "$2" | grep -Po '(?<=0.4.)\d+' >/dev/null); then
patch=$(echo "$2" | grep -Po '(?<=0.4.)\d+')
if (( patch < 22 )); then
args=$OLDARGS
fi