mirror of
https://github.com/flynx/photobook.git
synced 2025-11-03 12:50:11 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
6ba981e3dd
commit
6845c059fe
@ -287,9 +287,9 @@ getTemplate(){
|
|||||||
TEMPLATE=($SPREAD/*-$TYPE.tpl)
|
TEMPLATE=($SPREAD/*-$TYPE.tpl)
|
||||||
if ! [ -z $TEMPLATE ] ; then
|
if ! [ -z $TEMPLATE ] ; then
|
||||||
#TEMPLATE=${TEMPLATE_DIR}/$(echo "${TEMPLATE[0]}" \
|
#TEMPLATE=${TEMPLATE_DIR}/$(echo "${TEMPLATE[0]}" \
|
||||||
# | sed -e "s/$SPREAD\///" \
|
# | sed -e "s/$S{PREAD}\///" \
|
||||||
# -e 's/^[0-9]\+-//' \
|
# -e 's/^[0-9]\+-//' \
|
||||||
# -e "s/-${TYPE}.*$//")
|
# -e "s/-${TYPE}\.*$//").tex
|
||||||
TEMPLATE=${TEMPLATE/$SPREAD\//}
|
TEMPLATE=${TEMPLATE/$SPREAD\//}
|
||||||
TEMPLATE=${TEMPLATE/[0-9]-/}
|
TEMPLATE=${TEMPLATE/[0-9]-/}
|
||||||
TEMPLATE="$TEMPLATE_DIR/${TEMPLATE[0]%-${TYPE}.*}.tex"
|
TEMPLATE="$TEMPLATE_DIR/${TEMPLATE[0]%-${TYPE}.*}.tex"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user