diff --git a/usr/local/share/bastille/template.sh b/usr/local/share/bastille/template.sh index 07cfae1..67b3e26 100644 --- a/usr/local/share/bastille/template.sh +++ b/usr/local/share/bastille/template.sh @@ -186,7 +186,11 @@ case ${TEMPLATE} in ;; */*) if [ ! -d "${bastille_templatesdir}/${TEMPLATE}" ]; then - error_exit "${TEMPLATE} not found." + if [ ! -d ${TEMPLATE} ]; then + error_exit "${TEMPLATE} not found." + else + bastille_template=${TEMPLATE} + fi fi ;; *)