From 67136b9ca6d50518021866b814f39d9ddc96855e Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Aug 21 2011 00:43:38 +0000 Subject: Update `render_doBaseActions.sh'. --- diff --git a/Scripts/CentOS-Art/Functions/Render/render_doBaseActions.sh b/Scripts/CentOS-Art/Functions/Render/render_doBaseActions.sh index cb493fc..fbcad50 100755 --- a/Scripts/CentOS-Art/Functions/Render/render_doBaseActions.sh +++ b/Scripts/CentOS-Art/Functions/Render/render_doBaseActions.sh @@ -53,7 +53,7 @@ function render_doBaseActions { # Redefine name of rendition backend based on supported file # extension. - if [[ $RENDER_EXTENSION == '^(svg|docbook)$' ]];then + if [[ $RENDER_EXTENSION =~ '^(svg|docbook)$' ]];then RENDER_BACKEND=${RENDER_EXTENSION} else cli_printMessage "`eval_gettext "The \\\"\\\$RENDER_EXTENSION\\\" file extension is not supported yet."`" --as-error-line