diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/control.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/control.sh b/lib/control.sh index 746863e..d480c22 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -177,6 +177,9 @@ ob_set_substvar() }; ')" + # Escape single quotes in value. + _obssv_value="$(printf '%s\n' "${_obssv_value}" | sed "s/'/'\\\\''/g")" + eval "_OB_SUBSTVAR_${_obssv_name}='${_obssv_value}'" _ob_return 125 |