diff --git a/Automation/Scripts/tcar_checkFiles.sh b/Automation/Scripts/tcar_checkFiles.sh index 6c47486..b150e01 100755 --- a/Automation/Scripts/tcar_checkFiles.sh +++ b/Automation/Scripts/tcar_checkFiles.sh @@ -9,10 +9,10 @@ # any point, an error message is output and centos-art.sh script # finishes its execution. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -79,7 +79,7 @@ function tcar_checkFiles { local MIME=${OPTARG} CONDITION_COMMAND[((++${#CONDITION_COMMAND[*]}))]='/usr/bin/file' CONDITION_PATTERN[((++${#CONDITION_PATTERN[*]}))]='-bi' - CONDITION_MESSAGE[((++${#CONDITION_MESSAGE[*]}))]="`eval_gettext "isn't a \\\"\\\${MIME}\\\" file."`" + CONDITION_MESSAGE[((++${#CONDITION_MESSAGE[*]}))]="`eval_gettext "isn't a \\\"\\\$MIME\\\" file."`" ;; m ) diff --git a/Automation/Scripts/tcar_checkRepoDirSource.sh b/Automation/Scripts/tcar_checkRepoDirSource.sh index 4a92253..feb069d 100755 --- a/Automation/Scripts/tcar_checkRepoDirSource.sh +++ b/Automation/Scripts/tcar_checkRepoDirSource.sh @@ -18,10 +18,10 @@ # very useful when you need to execute the centos-art.sh script as # command (e.g., `centos-art') anywhere on your workstation. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -52,7 +52,7 @@ function tcar_checkRepoDirSource { # dot as argument when you want to include the current location in # a list of arguments to process. Don't forget that dot slash can # be used to refer locations relatively. - LOCATION=$(echo "${LOCATION}" | sed -r "s,^\.(/([[:alnum:]_/-.]+)?)?$,$(pwd)\1,g") + LOCATION=$(echo "${LOCATION}" | sed -r "s,^\.(/([[:alnum:]_/.-]+)?)?$,$(pwd)\1,g") # Remove the path to repository's base directory from location in # order to avoid path duplications here. diff --git a/Automation/Scripts/tcar_getConfigLines.sh b/Automation/Scripts/tcar_getConfigLines.sh index f99b458..6c52553 100755 --- a/Automation/Scripts/tcar_getConfigLines.sh +++ b/Automation/Scripts/tcar_getConfigLines.sh @@ -6,15 +6,15 @@ # arguments, the configuration file absolute path, the configuration # section name, and the configuration option name must be provided. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/Automation/Scripts/tcar_getConfigSectionNames.sh b/Automation/Scripts/tcar_getConfigSectionNames.sh index c844608..8da1206 100755 --- a/Automation/Scripts/tcar_getConfigSectionNames.sh +++ b/Automation/Scripts/tcar_getConfigSectionNames.sh @@ -6,10 +6,10 @@ # names are retrieved they are printed to standard output for # further processing. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_getConfigValue.sh b/Automation/Scripts/tcar_getConfigValue.sh index c68c9ac..9b2f32f 100755 --- a/Automation/Scripts/tcar_getConfigValue.sh +++ b/Automation/Scripts/tcar_getConfigValue.sh @@ -6,10 +6,10 @@ # arguments, the configuration file absolute path, the configuration # section name, and the configuration option name must be provided. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_getFilesList.sh b/Automation/Scripts/tcar_getFilesList.sh index ce091f2..4f8ab11 100755 --- a/Automation/Scripts/tcar_getFilesList.sh +++ b/Automation/Scripts/tcar_getFilesList.sh @@ -6,10 +6,10 @@ # a sorted and unique list of files based on the options and # locations passed as argument. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_getLocalizationDir.sh b/Automation/Scripts/tcar_getLocalizationDir.sh index 2f0676a..e17616e 100755 --- a/Automation/Scripts/tcar_getLocalizationDir.sh +++ b/Automation/Scripts/tcar_getLocalizationDir.sh @@ -6,15 +6,15 @@ # function must be a path pointing a directory inside the # repository. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/Automation/Scripts/tcar_getPathComponent.sh b/Automation/Scripts/tcar_getPathComponent.sh index 1ebada5..5c511ca 100755 --- a/Automation/Scripts/tcar_getPathComponent.sh +++ b/Automation/Scripts/tcar_getPathComponent.sh @@ -7,10 +7,10 @@ # information from paths (e.g., releases, architectures and theme # artistic motifs) or the patterns used to build the paths. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_getRepoName.sh b/Automation/Scripts/tcar_getRepoName.sh index 40465f9..b572bf0 100755 --- a/Automation/Scripts/tcar_getRepoName.sh +++ b/Automation/Scripts/tcar_getRepoName.sh @@ -8,10 +8,10 @@ # function to sanitate the name of regular files and directories on # paths you work with. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_getTemporalFile.sh b/Automation/Scripts/tcar_getTemporalFile.sh index 8d832b5..65eae39 100755 --- a/Automation/Scripts/tcar_getTemporalFile.sh +++ b/Automation/Scripts/tcar_getTemporalFile.sh @@ -6,15 +6,15 @@ # whenever you need to create temporal files inside centos-art.sh # script. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/Automation/Scripts/tcar_printCaller.sh b/Automation/Scripts/tcar_printCaller.sh index 08c6abe..1ceab89 100755 --- a/Automation/Scripts/tcar_printCaller.sh +++ b/Automation/Scripts/tcar_printCaller.sh @@ -4,15 +4,15 @@ # tcar_printCaller.sh -- This function standardizes the way caller # information is retrieved. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. +# the Free Software Foundation; either version 2 of the License, or (at +# your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/Automation/Scripts/tcar_printCopyrightInfo.sh b/Automation/Scripts/tcar_printCopyrightInfo.sh index 67ecadd..6961c6e 100755 --- a/Automation/Scripts/tcar_printCopyrightInfo.sh +++ b/Automation/Scripts/tcar_printCopyrightInfo.sh @@ -11,14 +11,15 @@ # terms the creator considers better. At this moment I don't feel # very confident about this legal affairs and their legal # implications, but I need to decide what copyright information the -# centos-art.sh script will print out when it be requested about it. -# So, in that sake, I'll assume the same copyright information used -# by The CentOS Wiki (http://wiki.centos.org/) as reference. +# centos-art.sh script will print out when someone request +# information about it. So, in that sake, I am using The CentOS +# Artwork SIG as copyright holder and the GNU Public License, +# version 2 or any later, for software distribution. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -96,8 +97,21 @@ function tcar_printCopyrightInfo { --holder ) - # Print centos-art.sh script default copyright holder. - echo "The CentOS Project" + # Print centos-art.sh script default copyright holder. Be + # pragmatic about this information, please. The CentOS + # Project exists to produce The CentOS Distribution, not + # centos-art.sh script. Nevertheless, The CentOS Artwork + # SIG is an organizational unit of The CentOS Project + # which is focused on producing The CentOS Project + # corporate visual identity, by means of The CentOS + # Artwork Repository. The centos-art.sh script automates + # frequent tasks inside The CentOS Artwork Repository so, + # based on these considerations, the copyright holder of + # the centos-art.sh script is "closer" to be The CentOS + # Artwork SIG than it would be The CentOS Project. These + # are the logical choosing ideas behind the copyright + # holder of centos-art.sh script. + echo "The CentOS Artwork SIG" ;; --holder-predicate ) diff --git a/Automation/Scripts/tcar_printHelp.sh b/Automation/Scripts/tcar_printHelp.sh index 9d3ad28..cdeab1b 100755 --- a/Automation/Scripts/tcar_printHelp.sh +++ b/Automation/Scripts/tcar_printHelp.sh @@ -4,10 +4,10 @@ # tcar_printHelp.sh -- This function standardizes the way # centos-art.sh script prints help about itself. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_printMailingList.sh b/Automation/Scripts/tcar_printMailingList.sh index 9fea7f6..32f0cb2 100755 --- a/Automation/Scripts/tcar_printMailingList.sh +++ b/Automation/Scripts/tcar_printMailingList.sh @@ -5,10 +5,10 @@ # mailing list addresses are printed on content produced by # centos-art.sh script. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_printMessage.sh b/Automation/Scripts/tcar_printMessage.sh index 48da419..d3d4f6e 100755 --- a/Automation/Scripts/tcar_printMessage.sh +++ b/Automation/Scripts/tcar_printMessage.sh @@ -4,10 +4,10 @@ # tcar_printMessage.sh -- This function standardizes the way messages # are printed by centos-art.sh script. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_printUrl.sh b/Automation/Scripts/tcar_printUrl.sh index 86c9ccd..186a6fc 100755 --- a/Automation/Scripts/tcar_printUrl.sh +++ b/Automation/Scripts/tcar_printUrl.sh @@ -6,10 +6,10 @@ # domain organization of The CentOS Project through its URLs and # provides a way to print them out when needed. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_printVersion.sh b/Automation/Scripts/tcar_printVersion.sh index e899fda..1ab5aec 100755 --- a/Automation/Scripts/tcar_printVersion.sh +++ b/Automation/Scripts/tcar_printVersion.sh @@ -4,10 +4,10 @@ # tcar_printVersion.sh -- This function standardizes the way # centos-art.sh script prints version about itself. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_setArguments.sh b/Automation/Scripts/tcar_setArguments.sh index a9ee655..574728a 100755 --- a/Automation/Scripts/tcar_setArguments.sh +++ b/Automation/Scripts/tcar_setArguments.sh @@ -22,10 +22,10 @@ # variables let you to nest option parsing inside different # function-environment levels. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -39,6 +39,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # ###################################################################### diff --git a/Automation/Scripts/tcar_setModuleEnvironment.sh b/Automation/Scripts/tcar_setModuleEnvironment.sh index 1bc3907..0c5e7c2 100755 --- a/Automation/Scripts/tcar_setModuleEnvironment.sh +++ b/Automation/Scripts/tcar_setModuleEnvironment.sh @@ -5,10 +5,10 @@ # first-level module (or simply, module) environments inside the # centos-art.sh script. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_setModuleEnvironmentScripts.sh b/Automation/Scripts/tcar_setModuleEnvironmentScripts.sh index 280069e..dda1280 100755 --- a/Automation/Scripts/tcar_setModuleEnvironmentScripts.sh +++ b/Automation/Scripts/tcar_setModuleEnvironmentScripts.sh @@ -5,10 +5,10 @@ # the way specific functionalities are exported to centos-art.sh # script environment. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_setSubModuleEnvironment.sh b/Automation/Scripts/tcar_setSubModuleEnvironment.sh index f1fbbfc..7de7c16 100755 --- a/Automation/Scripts/tcar_setSubModuleEnvironment.sh +++ b/Automation/Scripts/tcar_setSubModuleEnvironment.sh @@ -4,10 +4,10 @@ # tcar_setSubModuleEnvironment.sh -- This function initiates # modules' sub-module environments inside the centos-art.sh script. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_setTranslationMarkers.sh b/Automation/Scripts/tcar_setTranslationMarkers.sh index 2718154..f62198a 100755 --- a/Automation/Scripts/tcar_setTranslationMarkers.sh +++ b/Automation/Scripts/tcar_setTranslationMarkers.sh @@ -7,10 +7,10 @@ # Docbook, Svg, etc.) and expanded inside temporal instances used to # produce final contents. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_synchronizeRepoChanges.sh b/Automation/Scripts/tcar_synchronizeRepoChanges.sh index b4e04d2..0d87a38 100755 --- a/Automation/Scripts/tcar_synchronizeRepoChanges.sh +++ b/Automation/Scripts/tcar_synchronizeRepoChanges.sh @@ -6,10 +6,10 @@ # central repository. This function is an interface to the Svn # functionality of the centos-art.sh script. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_terminateScriptExecution.sh b/Automation/Scripts/tcar_terminateScriptExecution.sh index b8133a9..0f95ace 100755 --- a/Automation/Scripts/tcar_terminateScriptExecution.sh +++ b/Automation/Scripts/tcar_terminateScriptExecution.sh @@ -7,10 +7,10 @@ # one called when interruption signals like EXIT, SIGHUP, SIGINT and # SIGTERM are detected. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/Automation/Scripts/tcar_unsetModuleEnvironment.sh b/Automation/Scripts/tcar_unsetModuleEnvironment.sh index dd09cac..04b569a 100755 --- a/Automation/Scripts/tcar_unsetModuleEnvironment.sh +++ b/Automation/Scripts/tcar_unsetModuleEnvironment.sh @@ -4,10 +4,10 @@ # tcar_unsetModuleEnvironment.sh -- This function unsets functionalities from # centos-art.sh script execution environment. # -# Written by: +# Written by: # * Alain Reguera Delgado , 2009-2013 # -# Copyright (C) 2009-2013 The CentOS Project +# Copyright (C) 2009-2013 The CentOS Artwork SIG # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by