Clean up local variable usage - Remainder

Minor cleanups in a couple ofplaces:
* Config funtions
* Stackforge
* TLS

Combined a couple of smaller changesets that are loosly related

Change-Id: Ifa16f2e4c0eca0ef3401c0dfdc4f3d91809021a5
This commit is contained in:
Dean Troyer 2014-07-25 14:57:54 -05:00
parent b939caea45
commit b1e3d0f222
2 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@ function merge_config_group {
[[ -r $localfile ]] || return 0 [[ -r $localfile ]] || return 0
local configfile group
for group in $matchgroups; do for group in $matchgroups; do
for configfile in $(get_meta_section_files $localfile $group); do for configfile in $(get_meta_section_files $localfile $group); do
if [[ -d $(dirname $(eval "echo $configfile")) ]]; then if [[ -d $(dirname $(eval "echo $configfile")) ]]; then

View File

@ -84,6 +84,7 @@ function create_CA_base {
return 0 return 0
fi fi
local i
for i in certs crl newcerts private; do for i in certs crl newcerts private; do
mkdir -p $ca_dir/$i mkdir -p $ca_dir/$i
done done