From 36e141a796b7ad402962b41e4d5e8e110c88eef8 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Mon, 29 Jan 2018 15:59:23 -0500 Subject: [PATCH] build: Update to marsh 0.7.2. --- marsh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/marsh b/marsh index c5a3f988..41b649cf 100755 --- a/marsh +++ b/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