From b1e3d0f222da5e3edd68dd92020962beb1155e1e Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Fri, 25 Jul 2014 14:57:54 -0500 Subject: [PATCH] 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 --- lib/config | 1 + lib/tls | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/config b/lib/config index 67d788ccba..0baa4cc3c2 100644 --- a/lib/config +++ b/lib/config @@ -110,6 +110,7 @@ function merge_config_group { [[ -r $localfile ]] || return 0 + local configfile group for group in $matchgroups; do for configfile in $(get_meta_section_files $localfile $group); do if [[ -d $(dirname $(eval "echo $configfile")) ]]; then diff --git a/lib/tls b/lib/tls index e58e513a60..62a4ae3427 100644 --- a/lib/tls +++ b/lib/tls @@ -84,6 +84,7 @@ function create_CA_base { return 0 fi + local i for i in certs crl newcerts private; do mkdir -p $ca_dir/$i done