mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-24 03:01:01 +01:00
TEMPLATE.SH::ADDED:: ability to apply templates using a custom absolute directory path
This commit is contained in:
@@ -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
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user