X11rdp: make variables function local

Use local to declare variables local
This commit is contained in:
Philipp Hahn 2013-01-25 10:40:20 +01:00
parent f2b7aafb4e
commit 4163fd8d38

View File

@ -77,6 +77,7 @@ download_file()
remove_modules()
{
local mod_file mod_dir mod_args
if [ -d cookies ]; then
rm cookies/*
fi
@ -102,6 +103,7 @@ remove_modules()
extract_it()
{
local mod_file mod_name mod_args comp
mod_file=$1
mod_name=$2
mod_args=$3
@ -158,6 +160,7 @@ extract_it()
make_it()
{
local mod_file mod_name mod_args
mod_file=$1
mod_name=$2
mod_args=$3