diff --git a/scripts/make-spreads.sh b/scripts/make-spreads.sh index 5ebbc04..1b10fc5 100644 --- a/scripts/make-spreads.sh +++ b/scripts/make-spreads.sh @@ -291,9 +291,8 @@ getTemplate(){ fi # normalize... name=${name%.tex} - fi # normalize template name... - if [[ $name =~ .*\.tpl ]] ; then + elif [[ $name =~ .*\.tpl ]] ; then name=$( echo $name \ | sed \ -e 's/.tpl$//' \