From 037b7a3ca1ba7af025356beaab841ce7039bb168 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Dec 27 2013 00:34:06 +0000 Subject: Update prepare_setWorkplace.sh file. - Previously, the option provided to verify the existence of symbolic links was incorrect. This make tcar to fail symbolic link verification. This update changes prepare_setWorkplace.sh to fix the option passed to verify the existence of symbolic links. - Previously, no message was printed before the confirmation question related to rendering images for branding other images. This was because no option was set describing the way the message would be printed out. This update changes prepare_setWorkplace.sh file to add the option that describes the way the message should be printed out. --- diff --git a/tcar-scripts-prepare/prepare_setWorkplace.sh b/tcar-scripts-prepare/prepare_setWorkplace.sh index 9f81867..4ff5cb6 100755 --- a/tcar-scripts-prepare/prepare_setWorkplace.sh +++ b/tcar-scripts-prepare/prepare_setWorkplace.sh @@ -45,11 +45,11 @@ function prepare_setWorkplace { local TCAR_WORKDIR_DIR=$(prepare_getWorkplaceDir ${CONF}) local TCAR_WORKDIR_LNK=${TCAR_WORKDIR_DIR}/render.conf mkdir -p ${TCAR_WORKDIR_DIR} && ln -s ${CONF} ${TCAR_WORKDIR_LNK} - tcar_checkFiles -s ${TCAR_WORKDIR_LNK} + tcar_checkFiles -h ${TCAR_WORKDIR_LNK} done if [[ -d ${TCAR_WORKDIR}/Brands ]];then - tcar_printMessage "`gettext "The workplace doesn't include images for branding other images."`" + tcar_printMessage "`gettext "The workplace doesn't include images for branding other images."`" --as-stdout-line tcar_printMessage "`gettext "Do you want to render them now?"`" --as-yesornorequest-line prepare_setRenderEnvironment -o "render-type" -v "svg" ${TCAR_WORKDIR}/Brands fi