Update to v2.2.1:
Fix: Missing quotes in filter interpreter.
This commit is contained in:
parent
70bba87946
commit
c6e9cb3af4
@ -1,3 +1,8 @@
|
||||
2.2.1:
|
||||
|
||||
* Fix: Missing quotes in filter interpreter.
|
||||
|
||||
|
||||
2.2:
|
||||
|
||||
* New: Allow for the value of other entries to be in the 'sed' command of a
|
||||
|
@ -18,7 +18,7 @@
|
||||
enginedir=/usr/share/BBlog/engines
|
||||
|
||||
# version
|
||||
version=2.2
|
||||
version=2.2.1
|
||||
|
||||
function print_config {
|
||||
echo "engine: $engine"
|
||||
@ -223,7 +223,7 @@ function replace_format {
|
||||
# apply filter
|
||||
if [ -n "$filter" ]; then
|
||||
# replace '%' inside filter text
|
||||
sed_cmd=$(replace_format $(eval "echo \$filter_$filter"))
|
||||
sed_cmd=$(replace_format "$(eval echo \$filter_$filter)")
|
||||
replacement=$(eval "echo \$$field" | sed -r "$sed_cmd" )
|
||||
else
|
||||
replacement=$(eval "echo \$$field")
|
||||
|
Loading…
Reference in New Issue
Block a user