From 6e91549fa85d7dcf14f38ae6e594197d17e2953e Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 23 2011 02:16:16 +0000 Subject: Update ./Prepare/prepare_doLinksSuffixes.sh based on cli_getPathComponent.sh@2853. --- diff --git a/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh b/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh index 3ead841..258111c 100755 --- a/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh +++ b/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh @@ -29,9 +29,9 @@ function prepare_doLinksSuffixes { local FILE="$1" local SUFFIX='centos-' - if [[ "$FILE" =~ "$(cli_getPathComponent --theme-pattern)" ]];then - SUFFIX="${SUFFIX}$(cli_getRepoName $(cli_getPathComponent $FILE --theme-name) -f)-" - SUFFIX="${SUFFIX}$(cli_getPathComponent $FILE --theme-release)-" + if [[ "$FILE" =~ "$(cli_getPathComponent --motif-pattern)" ]];then + SUFFIX="${SUFFIX}$(cli_getRepoName $(cli_getPathComponent $FILE --motif-name) -f)-" + SUFFIX="${SUFFIX}$(cli_getPathComponent $FILE --motif-release)-" fi echo "${SUFFIX}"