]> WPIA git - nre.git/commit
Rename shell scripts
authorLucas Werkmeister <mail@lucaswerkmeister.de>
Mon, 11 Apr 2016 18:31:43 +0000 (20:31 +0200)
committerLucas Werkmeister <mail@lucaswerkmeister.de>
Mon, 11 Apr 2016 18:31:43 +0000 (20:31 +0200)
commitae9adf2685bacafbb15ad365b9837cd5ef56bb22
tree4b82ff43b41e57155d29f6d06f7a3c134bd1087a
parentaaeeb47bd0cd2dbe0b3e4ab06b5d8b1236dbbf3f
Rename shell scripts

The usual convention is have no file name extension for executable
scripts, and to name library scripts according to their shell (here:
.bash). The rationale for the first part is that users do not need to
konw whether a program is a shell script or not, and this allows one to
rewrite the program in a different language (interpreted or compiled)
without having to update anything that refers to the program name
(documentation, crontab, etc.).

In this case, the file name extensions were also misleading, since the
scripts have a Bash shebang and use Bash features. If a user, based on
the file name extension, had tried to run a script as `sh all.sh`, it
would not have worked.

Citation: Google Shell Style Guide,
https://google.github.io/styleguide/shell.xml#File_Extensions
17 files changed:
README.md
all [moved from all.sh with 60% similarity]
clear [moved from clear.sh with 100% similarity]
collectCRLs [moved from collectCRLs.sh with 97% similarity]
collectGigiConfig [moved from collectGigiConfig.sh with 97% similarity]
collectOffline [moved from collectOffline.sh with 100% similarity]
collectSignerConfig [moved from collectSignerConfig.sh with 98% similarity]
commonFunctions.bash [moved from commonFunctions with 98% similarity]
generateCRLs [moved from generateCRLs.sh with 97% similarity]
generateHtdocs [moved from generateHtdocs.sh with 96% similarity]
generateInfra [moved from generateInfra.sh with 98% similarity]
generateKeys [moved from generateKeys.sh with 97% similarity]
generateTime [moved from generateTime.sh with 97% similarity]
structure.bash [moved from structure with 100% similarity]
summary [moved from summary.sh with 93% similarity]
unpackOffline [moved from unpackOffline.sh with 100% similarity]
verify [moved from verify.sh with 99% similarity]