From b9b3182f9f1ad53d9544fbb7eee48d29f1767fe0 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 07 2011 01:37:00 +0000 Subject: Update Render/render_doSvgPostActions.sh. Start using cli_getPathComponent@2566. --- diff --git a/Scripts/Functions/Render/render_doSvgPostActions.sh b/Scripts/Functions/Render/render_doSvgPostActions.sh index c256aad..2072377 100644 --- a/Scripts/Functions/Render/render_doSvgPostActions.sh +++ b/Scripts/Functions/Render/render_doSvgPostActions.sh @@ -46,13 +46,13 @@ function render_doSvgPostActions { elif [[ $TEMPLATE =~ "Concept/.+\.svg$" ]];then POSTACTIONS[((++${#POSTACTIONS[*]}))]='convertPngTo:jpg pdf' POSTACTIONS[((++${#POSTACTIONS[*]}))]='convertPngToThumbnail:250' - elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent '--release-pattern')/Syslinux/.+\.svg$" ]];then + elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent --release-pattern)/Syslinux/.+\.svg$" ]];then POSTACTIONS[((++${#POSTACTIONS[*]}))]='doSyslinux' POSTACTIONS[((++${#POSTACTIONS[*]}))]='doSyslinux:-floyd' - elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent '--release-pattern')/Grub/.+\.svg$" ]];then + elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent --release-pattern)/Grub/.+\.svg$" ]];then POSTACTIONS[((++${#POSTACTIONS[*]}))]='doGrub' POSTACTIONS[((++${#POSTACTIONS[*]}))]='doGrub:-floyd' - elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent '--release-pattern')/Ksplash/.+\.svg$" ]];then + elif [[ $TEMPLATE =~ "Distro/$(cli_getPathComponent --release-pattern)/Ksplash/.+\.svg$" ]];then POSTACTIONS[((++${#POSTACTIONS[*]}))]='doKsplash' fi