From 1dd87eceadafea1efcc31a4546969a2149edf923 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 9 Mar 2023 02:29:00 +0300 Subject: [PATCH] minor fix... Signed-off-by: Alex A. Naanou --- scripts/make-images.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/make-images.sh b/scripts/make-images.sh index 9ae4424..2b603a1 100644 --- a/scripts/make-images.sh +++ b/scripts/make-images.sh @@ -168,11 +168,13 @@ IMAGE_PAGE=${IMAGE_PAGE:=imagepage} # dynamic spread templates... # NOTE: the index here corresponds to the number of images found in a # spread directory... -IMAGE_SPREAD=${IMAGE_SPREAD:=( - [0]=text-spread - [1]=imagebleedleft - [2]=image-image -)} +if [ ${#IMAGE_SPREAD[@]} = 0 ] ; then + IMAGE_SPREAD=( + [0]=text-spread + [1]=imagebleedleft + [2]=image-image + ) +fi