Fixed last bug with multiline in properties.

This commit is contained in:
Adsooi 2021-12-29 20:45:34 +01:00
parent 3daf138b09
commit 8d92cad720
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

2
oop.sh
View file

@ -187,5 +187,5 @@ property() {
# Default value # Default value
eval "_${varName}_properties[$prop]='$propertyValue'" eval "_${varName}_properties[$prop]='$propertyValue'"
# Property alias # Property alias
eval "$propertyFullName() { _accessProperty $varName $prop \$@; }" eval "$propertyFullName() { _accessProperty $varName $prop \$1 \"\${@:2}\"; }"
} }