From 5c2f35fa2522fa660946e2ca92375017c10034cc Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jan 26 2011 17:52:11 +0000 Subject: Update cli_getCopyrightInfo.sh: - Start using cli_getPathComponent instead of cli_getThemeName. The cli_getThemeName is no longer available, its implementation has been merged in cli_getPathComponent. --- diff --git a/Scripts/Bash/Functions/cli_getCopyrightInfo.sh b/Scripts/Bash/Functions/cli_getCopyrightInfo.sh index 7d50ea7..b5231f1 100755 --- a/Scripts/Bash/Functions/cli_getCopyrightInfo.sh +++ b/Scripts/Bash/Functions/cli_getCopyrightInfo.sh @@ -128,13 +128,13 @@ function cli_getCopyrightInfo { local COUNT=0 # Define directory structures that don't use default information. - DIRS[0]="$(cli_getRepoTLDir)/Identity/Themes/Motifs/$(cli_getThemeName)/Concept" - DIRS[1]="$(cli_getRepoTLDir)/Identity/Themes/Motifs/$(cli_getThemeName)/Promo" + DIRS[0]="$(cli_getRepoTLDir)/Identity/Themes/Motifs/$(cli_getPathComponent '--theme')/Concept" + DIRS[1]="$(cli_getRepoTLDir)/Identity/Themes/Motifs/$(cli_getPathComponent '--theme')/Promo" # Define absolute path to file from which we retrive copyright # information for directory structures that don't use default # information. - FILES[0]="$(cli_getRepoTLDir)/Identity/Themes/Motifs/$(cli_getThemeName '--name')/copyright.txt" + FILES[0]="$(cli_getRepoTLDir)/Identity/Themes/Motifs/$(cli_getPathComponent '--theme-name')/copyright.txt" case "$1" in