summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2017-01-21 15:52:06 +0100
committerjohannst <stoelp@eit.uni-kl.de>2017-01-21 15:52:06 +0100
commitcadd11e2e72c9869c9d4d02b99018f757ec082a6 (patch)
tree01e8fc8a3db8b185fd36d645efad67f588b0369d /install
parented06e97323f671e875802b768fb014d6f1f1e87c (diff)
downloaddotfiles-cadd11e2e72c9869c9d4d02b99018f757ec082a6.tar.gz
dotfiles-cadd11e2e72c9869c9d4d02b99018f757ec082a6.zip
minor fixes
Diffstat (limited to 'install')
-rwxr-xr-xinstall6
1 files changed, 3 insertions, 3 deletions
diff --git a/install b/install
index 78f050a..64116ea 100755
--- a/install
+++ b/install
@@ -103,14 +103,14 @@ function xtermConfigInstaller() {
function main() {
# parse gInstallConfigFile to see what should be installed
- configToInstall=()
+ local configToInstall=()
while read line; do
if [[ ! $line =~ ^[yYnN][[:blank:]]?- ]]; then
continue
fi
- flag=$(echo $line | cut -d '-' -f 1 | sed 's/ //g')
+ local flag=$(echo $line | cut -d '-' -f 1 | sed 's/ //g')
if [[ $flag =~ ^[yY]$ ]]; then
- config=$(echo $line | cut -d '-' -f 2 | sed 's/ //g')
+ local config=$(echo $line | cut -d '-' -f 2 | sed 's/ //g')
configToInstall+=("$config")
fi
done < $gInstallConfigFile