mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-10 00:44:52 -06:00
build: Update to marsh 0.7.2.
This commit is contained in:
parent
8791d15267
commit
36e141a796
12
marsh
12
marsh
@ -6,7 +6,7 @@
|
||||
# https://github.com/bradleysepos/marsh
|
||||
|
||||
NAME="marsh"
|
||||
VERSION="0.7.1"
|
||||
VERSION="0.7.2"
|
||||
SELF="${BASH_SOURCE[0]}"
|
||||
SELF_DIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd -P)
|
||||
SELF_DIR="${SELF_DIR:-$(pwd)}"
|
||||
@ -1579,15 +1579,7 @@ function build_template { # build_template dest_dir target_dir document templat
|
||||
eval $(process_authors "SUBDOCUMENT_AUTHORS" "SUBDOCUMENT_Authors")
|
||||
SUBDOCUMENT_AUTHORS=$(join_delimited ', ' ' and ' ', and ' ${SUBDOCUMENT_AUTHORS[@]})
|
||||
# state
|
||||
if [[ "${SUBDOCUMENT_State}" != "" ]]; then
|
||||
# deprecated (no brackets)
|
||||
# Key: foo, bar, baz
|
||||
SUBDOCUMENT_State=(${SUBDOCUMENT_State//, /})
|
||||
else
|
||||
# YAML inline array
|
||||
# Key: [ foo, bar, baz ]
|
||||
eval $(flat_to_array "SUBDOCUMENT_State" "SUBDOCUMENT_State_")
|
||||
fi
|
||||
eval $(flat_to_array "SUBDOCUMENT_State" "SUBDOCUMENT_State_")
|
||||
if [[ "${DOCUMENT_Type}" == "archive-atom" ]]; then
|
||||
# document template
|
||||
if [[ "${TEMPLATE_Template_Partials_Archive_Atom_Document:-}" != "" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user