diff --git a/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh b/Scripts/Functions/Prepare/prepare_doLinksSuffixes.sh index 7b7e0e2..3b3c10d 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 --theme-pattern)" ]];then + SUFFIX="${SUFFIX}$(cli_getRepoName "$(cli_getPathComponent $FILE --theme-name)" 'f')-" + SUFFIX="${SUFFIX}$(cli_getPathComponent $FILE --theme-release)-" fi echo "${SUFFIX}"